OutputFileStream.withFileHandle constructor
OutputFileStream.withFileHandle(
- AbstractFileHandle _fileHandle, {
- int byteOrder = LITTLE_ENDIAN,
- int? bufferSize,
Implementation
OutputFileStream.withFileHandle(
this._fileHandle, {
this.byteOrder = LITTLE_ENDIAN,
int? bufferSize,
}) : _length = 0,
_buffer = Uint8List(bufferSize == null
? kDefaultBufferSize
: bufferSize < 1
? 1
: bufferSize),
_bufferPosition = 0,
_isOpen = true;