Module bytes

Source
Expand description

Encoders and decoders for reading/writing byte sequences.

Structsยง

BytesDecoder
BytesDecoder copies bytes from an input sequence to a slice.
BytesEncoder
BytesEncoder writes the given bytes into an output byte sequence.
CopyableBytesDecoder
A variant of BytesDecoder for copyable bytes types.
RemainingBytesDecoder
RemainingBytesDecoder reads all the bytes from a input sequence until it reaches EOS.
Utf8Decoder
Utf8Decoder decodes Rust strings from a input byte sequence.
Utf8Encoder
Utf8Encoder writes the given Rust string into an output byte sequence.