Expand description
A collection of framing methods that can be used to convert from byte chunks to byte frames with defined boundaries.
Structs§
- Bytes
Encoder - An encoder for handling of plain bytes.
- Bytes
Encoder Config - Config used to build a
BytesEncoder. - Character
Delimited Encoder - An encoder for handling bytes that are delimited by (a) chosen character(s).
- Character
Delimited Encoder Config - Config used to build a
CharacterDelimitedEncoder. - Character
Delimited Encoder Options - Configuration for character-delimited framing.
- Length
Delimited Encoder - An encoder for handling bytes that are delimited by a length header.
- Length
Delimited Encoder Config - Config used to build a
LengthDelimitedEncoder. - Newline
Delimited Encoder - A codec for handling bytes that are delimited by (a) newline(s).
- Newline
Delimited Encoder Config - Config used to build a
NewlineDelimitedEncoder. - Varint
Length Delimited Encoder - A codec for handling bytes sequences whose length is encoded as a varint prefix. This is compatible with protobuf’s length-delimited encoding.
- Varint
Length Delimited Encoder Config - Config used to build a
VarintLengthDelimitedEncoder.
Traits§
- Framer
- Wrap bytes into a frame.
- Framing
Error - An error that occurred while framing bytes.
Type Aliases§
- Boxed
Framer - A
Boxcontaining aFramer. - Boxed
Framing Error - A
Boxcontaining aFramingError.