[][src]Module ntex::codec

Utilities for encoding and decoding frames.

Structs

BytesCodec

Bytes codec.

Framed

A unified Stream and Sink interface to an underlying I/O object, using the Encoder and Decoder traits to encode and decode frames. Framed is heavily optimized for streaming io.

FramedParts

FramedParts contains an export of the data of a Framed transport. It can be used to construct a new Framed with a different codec. It contains all current buffers and the inner transport.

Traits

AsyncRead

Reads bytes from a source.

AsyncWrite

Writes bytes asynchronously.

Decoder

Decoding of frames via buffers.

Encoder

Trait of helper objects to write out messages as bytes, for use with FramedWrite.