Package org.apache.hadoop.hdfs.util
Class StripedBlockUtil.ChunkByteBuffer
java.lang.Object
org.apache.hadoop.hdfs.util.StripedBlockUtil.ChunkByteBuffer
- Enclosing class:
- StripedBlockUtil
A utility to manage ByteBuffer slices for a reader.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddSlice(ByteBuffer buffer, int offset, int len) voidcopyFrom(ByteBuffer src) voidcopyTo(ByteBuffer target) Note: target will be ready-to-read state after the call.getSlice(int i)
-
Method Details
-
addSlice
-
getSlice
-
getSlices
-
copyTo
Note: target will be ready-to-read state after the call. -
copyFrom
-