Add missing row to int example table

This commit is contained in:
Tony Garnock-Jones 2023-03-15 20:50:49 +01:00
parent 07b28ca042
commit 98697e049d
1 changed files with 3 additions and 2 deletions

View File

@ -225,8 +225,9 @@ Languages that provide fixed-width machine word types may find the
following table useful in encoding and decoding binary `SignedInteger`
values.
| Integer range | Bytes required | Encoding (hex) |
| --- | --- | --- |
| Integer range | Bytes required | Encoding (hex) |
| --- | --- | --- |
| 0 | 2 | `B0` `00` |
| -2<sup>7</sup> ≤ n < 2<sup>7</sup> (i8) | 3 | `B0` `01` `XX` |
| -2<sup>15</sup> ≤ n < 2<sup>15</sup> (i16) | 4 | `B0` `02` `XX` `XX` |
| -2<sup>23</sup> ≤ n < 2<sup>23</sup> (i24) | 5 | `B0` `03` `XX` `XX` `XX` |