OutputStream constructor Null safety

OutputStream(
  1. {int? size = _blockSize,
  2. int byteOrder = LITTLE_ENDIAN}
)

Create a byte buffer for writing.

Implementation

OutputStream({int? size = _blockSize, this.byteOrder = LITTLE_ENDIAN})
    : _buffer = Uint8List(size ?? _blockSize),
      length = 0;