A Codec is a stateful object for converting requests/responses to/from DataBuffers.
IMPORTANT - when decoding, a codec must be able to handle both partial
responses and multiple responses in a single DataBuffer. This is why a
codec is stateful and returns a Seq[O]
A Codec is a stateful object for converting requests/responses to/from DataBuffers. IMPORTANT - when decoding, a codec must be able to handle both partial responses and multiple responses in a single DataBuffer. This is why a codec is stateful and returns a Seq[O]