Crate binary_stream
source ·Expand description
Library for reading and writing binary data.
An asynchronous version for tokio
is available using
the tokio
feature.
Strings are length prefixed using u64
by default, use
the 32bit
feature to use u32
for the string length prefix.
Structs
- Read from a stream.
- Write to a stream.
Enums
- Error generated reading and writing binary data.
- Variants to describe endianness.
Traits
- Trait for decoding from binary.
- Trait for encoding to binary.
Type Definitions
- BinaryResult type for binary errors.