Integer encoding for primitive integer types: Supports varint/varint+zigzag and fixed-length integer encoding and decoding, and provides synchronous and asynchronous Write/Read types for easily writing/reading integers.
At this line, I'm encountering a panic when i becomes 10 and then the index is invalid. Should probably return an Err when i becomes that large, rather than indirectly cause a panic.
At this line, I'm encountering a panic when
i
becomes10
and then the index is invalid. Should probably return anErr
wheni
becomes that large, rather than indirectly cause a panic.