# Package org.apache.mina.codec

Interface Summary
Interface | Description
--- | ---
ProtocolDecoder<INPUT,OUTPUT,DECODING_STATE> | Decodes binary or protocol-specific data into higher-level message objects.
ProtocolEncoder<INPUT,OUTPUT,ENCODING_STATE> | In charge of encoding a message of type MESSAGE into another form (could be a `ByteBuffer` or any other protocol level construction.
StatelessProtocolDecoder<INPUT,OUTPUT> | A state less `ProtocolDecoder` : no context stored for the different sessions.
StatelessProtocolEncoder<INPUT,OUTPUT> | A state less `ProtocolEncoder` : no context stored for the different sessions.

Class Summary
Class | Description
--- | ---
IoBuffer | A proxy class used to manage ByteBuffers as if they were just a big ByteBuffer.

Exception Summary
Exception | Description
--- | ---
ProtocolDecoderException | Exception thrown by a `ProtocolDecoder` if something wrong happen during decoding.
ProtocolEncoderException | Exception thrown by a `ProtocolEncoder` if something wrong happen during encoding.