mirror of
https://github.com/ToyB-Chan/mini-file-format.git
synced 2026-05-14 10:21:16 +02:00
Update README.md
This commit is contained in:
@@ -28,11 +28,11 @@ The format supports the following data types:
|
|||||||
|
|
||||||
### Integer
|
### Integer
|
||||||
- Defined as a sequence of digits (`0-9`).
|
- Defined as a sequence of digits (`0-9`).
|
||||||
- May be suffixed with `x` to be interpreted as hexadecimal (`0-9`, `a-f`, `A-F`).
|
- May be suffixed with `h` to be interpreted as hexadecimal (`0-9`, `a-f`, `A-F`).
|
||||||
- May be suffixed with `b` to be interpreted as binary (`0-1`).
|
- May be suffixed with `b` to be interpreted as binary (`0-1`).
|
||||||
- May contain underscores (`_`) for better readability.
|
- May contain underscores (`_`) for better readability.
|
||||||
- Example: `value = 5`
|
- Example: `value = 5`
|
||||||
- Example: `hexValue = FA8x`
|
- Example: `hexValue = FA8h`
|
||||||
- Example: `binValue = 0010010b`
|
- Example: `binValue = 0010010b`
|
||||||
- Example: `anotherDec = 1_000_375`
|
- Example: `anotherDec = 1_000_375`
|
||||||
|
|
||||||
@@ -91,7 +91,7 @@ myBool = false
|
|||||||
[MySection.MySubsection]
|
[MySection.MySubsection]
|
||||||
myFloat = 1.065f
|
myFloat = 1.065f
|
||||||
myFloat2 = 1e18f
|
myFloat2 = 1e18f
|
||||||
hexValue = FA8x
|
hexValue = FA8h
|
||||||
|
|
||||||
[MySection.MySubsection.AnotherSubsection]
|
[MySection.MySubsection.AnotherSubsection]
|
||||||
binValue = 0010010b
|
binValue = 0010010b
|
||||||
|
|||||||
Reference in New Issue
Block a user