Expand description
Traits and implementations for writing bits to a stream.
Structs§
- BitCounter
Deprecated - For counting the number of bits written but generating no output.
- BitRecorder
- For recording writes in order to play them back on another writer
- BitWriter
- For writing bit values to an underlying stream in a given endianness.
- Bits
Written - For counting the number of bits written but generating no output.
- Byte
Writer - For writing aligned bytes to a stream of bytes in a given endianness.
- Overflowed
- An error returned if performing math operations would overflow
Traits§
- BitWrite
- A trait for anything that can write a variable number of potentially un-aligned values to an output stream
- BitWrite2
- A compatibility trait for older code implementing
BitWrite
- Byte
Write - A trait for anything that can write aligned values to an output stream
- Counter
- A common trait for integer types for performing math operations which may check for overflow.
- ToBit
Stream - Implemented by complex types that don’t require any additional context to build themselves to a writer
- ToBit
Stream With - Implemented by complex types that require additional context to build themselves to a writer
- ToByte
Stream - Implemented by complex types that don’t require any additional context to build themselves to a writer
- ToByte
Stream With - Implemented by complex types that require additional context to build themselves to a writer