A couple of small updates to the docs (#8477)

* Mention uint8 as an alias to ubyte

as it's referenced in the note below

* Remove an unfinished sentence.
This commit is contained in:
Bhargava Srinarasi
2025-01-10 20:02:09 +01:00
committed by GitHub
parent 2b0ce37b12
commit 086097ff94
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ Older code will simply ignore the new field in the flatbuffer.
!!! tip "Use `id` attributes" !!! tip "Use `id` attributes"
You can ignore this rule if you use the `id` attribute on all the fields of a table. This You can ignore this rule if you use the `id` attribute on all the fields of a table.
### Removal ### Removal

View File

@@ -209,7 +209,7 @@ variable sized integers (e.g., `varints`).
| Size | Signed | Unsigned | Floating Point | | Size | Signed | Unsigned | Floating Point |
| ------ | ----------------- | ------------------- | -------------------- | | ------ | ----------------- | ------------------- | -------------------- |
| 8-bit | `byte`, `bool` | `ubyte` | | | 8-bit | `byte`, `bool` | `ubyte` (`uint8`) | |
| 16-bit | `short` (`int16`) | `ushort` (`uint16`) | | 16-bit | `short` (`int16`) | `ushort` (`uint16`) |
| 32-bit | `int` (`int32`) | `uint` (`uint32`) | `float` (`float32`) | | 32-bit | `int` (`int32`) | `uint` (`uint32`) | `float` (`float32`) |
| 64-bit | `long` (`int64`) | `ulong` (`uint64`) | `double` (`float64`) | | 64-bit | `long` (`int64`) | `ulong` (`uint64`) | `double` (`float64`) |