InputFileStream.clone constructor Null safety
- InputFileStream other,
- {int? position,
- int? length}
Implementation
InputFileStream.clone(InputFileStream other, {int? position, int? length})
: path = other.path
, _file = other._file
, byteOrder = other.byteOrder
, _fileOffset = other._fileOffset + (position ?? 0)
, _fileSize = length ?? other._fileSize
, _buffer = Uint8List(kDefaultBufferSize) {
_readBuffer();
}