public final class ByteToMessageHandler<Decoder> where Decoder : ByteToMessageDecoder
extension ByteToMessageHandler: ChannelInboundHandler
extension ByteToMessageHandler: RemovableChannelHandler
extension ByteToMessageHandler: ChannelOutboundHandler, _ChannelOutboundHandler where Decoder: WriteObservingByteToMessageDecoder

A handler which turns a given ByteToMessageDecoder into a ChannelInboundHandler that can then be added to a ChannelPipeline.

Most importantly, ByteToMessageHandler handles the tricky buffer management for you and flattens out all re-entrancy on channelRead that may happen in the ChannelPipeline.

ByteToMessageHandler: ChannelInboundHandler

Available where Decoder: WriteObservingByteToMessageDecoder