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.
|
instantiateRebufferer
channel, close, fileLength, getCrcCheckChance
void readChunk(long position, java.nio.ByteBuffer buffer)
int chunkSize()
BufferType preferredBufferType()
Copyright © 2009-2022 The Apache Software Foundation