public static interface ByteToMessageDecoder.Cumulator
ByteBuf s。
ByteBuf cumulate(ByteBufAllocator alloc, ByteBuf cumulation, ByteBuf in)
ByteBuf s并返回包含累积字节的ByteBuf 。
该实施负责正确处理给定的ByteBuf的生命周期,因此如果ByteBuf完全消耗,请致电ReferenceCounted.release() 。
Copyright © 2008–2018 The Netty Project. All rights reserved.