public class ByteBufUtils extends Object
ByteBuf
.Constructor and Description |
---|
ByteBufUtils() |
Modifier and Type | Method and Description |
---|---|
static org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf |
accumulate(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf target,
org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf source,
int targetAccumulationSize,
int accumulatedSize)
Accumulates data from source to target.
|
@Nullable public static org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf accumulate(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf target, org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf source, int targetAccumulationSize, int accumulatedSize)
target
- The target buffer.source
- The source buffer.targetAccumulationSize
- The target size of data to accumulate.accumulatedSize
- The size of data accumulated so far.Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.