Expand description
A collection of framing methods that can be used to convert from byte chunks to byte frames with defined boundaries.
Structs§
- An encoder for handling of plain bytes.
- Config used to build a
BytesEncoder
. - An encoder for handling bytes that are delimited by (a) chosen character(s).
- Config used to build a
CharacterDelimitedEncoder
. - Configuration for character-delimited framing.
- An encoder for handling bytes that are delimited by a length header.
- Config used to build a
LengthDelimitedEncoder
. - A codec for handling bytes that are delimited by (a) newline(s).
- Config used to build a
NewlineDelimitedEncoder
.
Traits§
- Wrap bytes into a frame.
- An error that occurred while framing bytes.
Type Aliases§
- A
Box
containing aFramer
. - A
Box
containing aFramingError
.