public interface ChunkReader extends RebuffererFactory
| Modifier and Type | Method and Description |
|---|---|
int |
chunkSize()
Buffer size required for this rebufferer.
|
BufferType |
preferredBufferType()
Specifies type of buffer the caller should attempt to give.
|
void |
readChunk(long position,
java.nio.ByteBuffer buffer)
Read the chunk at the given position, attempting to fill the capacity of the given buffer.
|
instantiateRebuffererchannel, close, fileLength, getCrcCheckChancevoid readChunk(long position,
java.nio.ByteBuffer buffer)
int chunkSize()
BufferType preferredBufferType()
Copyright © 2018 The Apache Software Foundation