Merge pull request #214 from google/clarify_varint

Clarify varInt ranges
This commit is contained in:
FrankGalligan 2017-10-03 15:17:37 -07:00 committed by GitHub
commit aa831f9de2

View File

@ -49,6 +49,12 @@ byte.
* varUI32 and varUI64 types must be decoded by the LEB128() function. * varUI32 and varUI64 types must be decoded by the LEB128() function.
* varUI32 can represent vaules in the range 0 to 2^32 - 1.
* E.g. 0x10000000 will be stored using 5 bytes.
* varUI64 can represent vaules in the range 0 to 2^64 - 1.
* E.g. 0x100000000000000 will be stored using 9 bytes.
### General Conventions ### General Conventions