Expand description
A collection of framing methods that can be used to convert from byte frames with defined boundaries to byte chunks.
Structs§
- A decoder for passing through bytes as-is.
- Config used to build a
BytesDecoderConfig
. - A decoder for handling bytes that are delimited by (a) chosen character(s).
- Config used to build a
CharacterDelimitedDecoder
. - Options for building a
CharacterDelimitedDecoder
. - A codec for handling GELF messages that may be chunked. The implementation is based on Graylog’s GELF documentation and Graylog’s go-gelf library.
- Config used to build a
ChunkedGelfDecoder
. - Options for building a
ChunkedGelfDecoder
. - A codec for handling bytes sequences whose length is encoded in a frame head.
- Config used to build a
LengthDelimitedDecoder
. - A codec for handling bytes that are delimited by (a) newline(s).
- Config used to build a
NewlineDelimitedDecoder
. - Options for building a
NewlineDelimitedDecoder
. - Codec using the
Octet Counting
format as specified in https://tools.ietf.org/html/rfc6587#section-3.4.1. - Config used to build a
OctetCountingDecoder
. - Options for building a
OctetCountingDecoder
.
Traits§
- Produce byte frames from a byte stream / byte message.
- An error that occurred while producing byte frames from a byte stream / byte message.
Type Aliases§
- A
Box
containing aFramer
. - A
Box
containing aFramingError
.