public static class StripedBlockUtil.ChunkByteBuffer extends Object
Modifier and Type | Method and Description |
---|---|
void |
addSlice(ByteBuffer buffer,
int offset,
int len) |
void |
copyFrom(ByteBuffer src) |
void |
copyTo(ByteBuffer target)
Note: target will be ready-to-read state after the call.
|
ByteBuffer |
getSlice(int i) |
List<ByteBuffer> |
getSlices() |
public void addSlice(ByteBuffer buffer, int offset, int len)
public ByteBuffer getSlice(int i)
public List<ByteBuffer> getSlices()
public void copyTo(ByteBuffer target)
public void copyFrom(ByteBuffer src)
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.