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