Package io.netty.handler.codec
Interface ByteToMessageDecoder.Cumulator
- Enclosing class:
ByteToMessageDecoder
public static interface ByteToMessageDecoder.Cumulator
Cumulate
ByteBuf
s.-
Method Summary
-
Method Details
-
cumulate
Cumulate the givenByteBuf
s and return theByteBuf
that holds the cumulated bytes. The implementation is responsible to correctly handle the life-cycle of the givenByteBuf
s and so callReferenceCounted.release()
if aByteBuf
is fully consumed.
-