Determine the VINT size length from the first byte. The number of leading zeros in the first byte indicates extra bytes. maxSizeLength limits how many bytes are allowed (4 for IDs, 8 for sizes).
Determine the VINT size length from the first byte. The number of leading zeros in the first byte indicates extra bytes. maxSizeLength limits how many bytes are allowed (4 for IDs, 8 for sizes).