Package io.deephaven.io.streams
Class BufferedChannelReader
java.lang.Object
io.deephaven.io.streams.BufferedChannelReader
-
Constructor Summary
ConstructorDescriptionBufferedChannelReader
(String filename, int blockSize, int readSize) Guarantees that each buffer from readNext() will have remaining() >= blockSize [that is, until it starts winding down on the end of the file] When it needs to refresh, it will read <= readSize from the channel -
Method Summary
-
Constructor Details
-
BufferedChannelReader
Guarantees that each buffer from readNext() will have remaining() >= blockSize [that is, until it starts winding down on the end of the file] When it needs to refresh, it will read <= readSize from the channel
-
-
Method Details
-
readNext
- Throws:
IOException
-
getBb
-
getRead
public int getRead() -
close
- Throws:
IOException
-