Reads one varint at offset. More than three bytes, a truncated input or a non-minimal encoding (a last byte of zero after a continuation byte, such as 80 00 for 0) is MALFORMED, so every value has exactly one encoding.
offset
80 00
Reads one varint at
offset. More than three bytes, a truncated input or a non-minimal encoding (a last byte of zero after a continuation byte, such as80 00for 0) is MALFORMED, so every value has exactly one encoding.