Module bytecodec::bytes[][src]

Expand description

Encoders and decoders for reading/writing byte sequences.

Structs

BytesDecoder copies bytes from an input sequence to a slice.

BytesEncoder writes the given bytes into an output byte sequence.

A variant of BytesDecoder for copyable bytes types.

RemainingBytesDecoder reads all the bytes from a input sequence until it reaches EOS.

Utf8Decoder decodes Rust strings from a input byte sequence.

Utf8Encoder writes the given Rust string into an output byte sequence.