InputFileStream.withFileHandle constructor
InputFileStream.withFileHandle(
- AbstractFileHandle fh, {
- int byteOrder = LITTLE_ENDIAN,
- int bufferSize = FileBuffer.kDefaultBufferSize,
Implementation
InputFileStream.withFileHandle(
AbstractFileHandle fh, {
this.byteOrder = LITTLE_ENDIAN,
int bufferSize = FileBuffer.kDefaultBufferSize,
}) : _file = FileBuffer(fh),
_fileOffset = 0,
_position = 0 {
_fileSize = _file.length;
}