public static interface ByteToMessageDecoder.Cumulator
ByteBuf
s.限定符和类型 | 方法和说明 |
---|---|
ByteBuf |
cumulate(ByteBufAllocator alloc,
ByteBuf cumulation,
ByteBuf in)
|
ByteBuf cumulate(ByteBufAllocator alloc, ByteBuf cumulation, ByteBuf in)
ByteBuf
s and return the ByteBuf
that holds the cumulated bytes.
The implementation is responsible to correctly handle the life-cycle of the given ByteBuf
s and so
call ReferenceCounted.release()
if a ByteBuf
is fully consumed.