Module from_bytes

Source
Expand description

Traits and helpers for reading/writing binary formats to objects.

Traitsยง

BufReadFromBytesExt
Extension to std::io::BufRead providing convenience methods for operations commonly used when reading binary formats.
FromBytes
FromBytes indicates that the type can be directly translated from a byte-oriented format. This is primarily used for types that represent structures used in a wire format.
ToBytes
ToBytes indicates that the type can be directly translated to a byte-oriented format. This is primarily used for types that represent structures used in a wire format.