RawWriter.withByteData constructor

RawWriter.withByteData(
  1. ByteData _byteData, {
  2. bool isExpanding = true,
})

Constructor that uses the ByteData as buffer.

If isExpanding is true, buffer is expanded automatically.

Implementation

RawWriter.withByteData(this._byteData, {this.isExpanding = true});