public static interface ByteToMessageDecoder.Cumulator
ByteBufs.| Modifier and Type | Method and Description |
|---|---|
ByteBuf |
cumulate(ByteBufAllocator alloc,
ByteBuf cumulation,
ByteBuf in)
|
ByteBuf cumulate(ByteBufAllocator alloc, ByteBuf cumulation, ByteBuf in)
ByteBufs and return the ByteBuf that holds the cumulated bytes.
The implementation is responsible to correctly handle the life-cycle of the given ByteBufs and so
call ReferenceCounted.release() if a ByteBuf is fully consumed.Copyright © 2008–2018 The Netty Project. All rights reserved.