InputFileStream.clone constructor
InputFileStream.clone(
- InputFileStream other, {
- int? position,
- int? length,
Implementation
InputFileStream.clone(InputFileStream other, {int? position, int? length})
: byteOrder = other.byteOrder,
_file = other._file,
_fileOffset = other._fileOffset + (position ?? 0),
_fileSize = length ?? other._fileSize,
_position = 0;