Expand description
An implementation of Google Protobuf’s Variable-Length Integers
Constants§
- VARINT_
32_ MAX_ BYTES - The maximum number of bytes used by a 32-bit Varint
- VARINT_
64_ MAX_ BYTES - The maximum number of bytes used by a 32-bit Varint
Traits§
- Varint
Read - Extends the I/O Read trait to provide functions to read (currently only 32-bit) Variable-Length Integers
- Varint
Write - Extends the I/O Write trait to provide functions for writing (currently only 32-bit) variable-length integers
- ZigZag
- A trait for enabling zig-zag encoding of various values