Expand description
Byte- and bit-level serialization primitives.
Everything the codec emits goes through ByteWriter, so the length of
its buffer is the bit account: there is no side channel.
Structs§
- BitReader
- Reader for
BitWriteroutput. - BitWriter
- LSB-first bit packer for raw (uniformly distributed) extra bits.
- Byte
Reader - Cursor over a byte slice, mirroring
ByteWriter. - Byte
Writer - Append-only byte buffer with LEB128 varints.
Enums§
- Decode
Error - Errors raised while parsing a bitstream.