Interface ByteToMessageDecoder.Cumulator
- Enclosing class:
ByteToMessageDecoder
public static interface ByteToMessageDecoder.Cumulator
Cumulate
ByteBufs.-
Method Summary
-
Method Details
-
cumulate
Cumulate the givenByteBufs and return theByteBufthat holds the cumulated bytes. The implementation is responsible to correctly handle the life-cycle of the givenByteBufs and so callReferenceCounted.release()if aByteBufis fully consumed.
-