InputFileStream.withFileBuffer constructor

InputFileStream.withFileBuffer(
  1. FileBuffer _file, {
  2. int byteOrder = LITTLE_ENDIAN,
  3. int bufferSize = FileBuffer.kDefaultBufferSize,
})

Implementation

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