RawWriter.withUint8List constructor
Constructor that uses the Uint8List as buffer.
If isExpanding
is true, buffer is expanded automatically.
Implementation
RawWriter.withUint8List(Uint8List list, {bool isExpanding = true})
: this.withByteData(
new ByteData.view(
list.buffer,
list.offsetInBytes,
list.lengthInBytes,
),
isExpanding: isExpanding,
);