Expand description

Library for reading and writing binary data.

If the 32bit feature is specified then 4 bytes is used for usize and isize regardless of target_pointer_width.

Use this when you need portability between 32bit and 64 bit platforms.

Structs

Read from a stream.
Write to a stream.
Stream that wraps a file.
Stream that wraps an owned buffer.
Stream that wraps a slice of bytes.

Enums

Error generated reading and writing binary data.
Variants to describe endianness.

Traits

Trait for decoding from binary.
Trait for encoding to binary.
Trait for a readable stream.
Trait for streams that can seek.
Trait for a writable stream.

Type Definitions

BinaryResult type for binary errors.