Constructs a new BufferedDirectReadFile.
Constructs a new BufferedDirectReadFile allocating a new buffer.
File to do direct IO reads.
Close the underlying file, but calling sync() first.
Return the host conduit.
Return the upstream sink.
Throws IOException because is not implemented.
Instantiates the file object to be used to read from. This method may be overridden by derived classes, allowing different types of file to be used with this class.
Open a BufferedDirectReadFile file.
Read from stream to a destination array. The content read from the stream will be stored in the provided dst.
Instructs the OS to flush it's internal buffers to the disk device.
Mixin for common functionality.
Internal pointer to data we already read but is still pending, waiting for a reader.
Block size.
Internal buffer (the size needs to be multiple of the block size).
Internal pointer to the next byte of the buffer that is free.
Construct the buffer using an existing buffer.
Construct the buffer with a specified size.
Return true if the pointer is aligned to the block size.
Throws an IOException because is not implemented.
Throws an IOException because is not implemented.
Throws IOException because is not implemented.
Read from stream into a target array. The provided dst will be populated with content from the stream.
Load the bits from a stream, and return them all in an array. The optional max value indicates the maximum number of bytes to be read.
Return the upstream source.
Buffered file to do direct IO reads.
Please read the module documentation for details.