bufferAsUint8List property

Uint8List bufferAsUint8List

Returns the buffer as Uint8List.

Implementation

Uint8List get bufferAsUint8List {
  final byteData = this._byteData;
  return Uint8List.view(
      byteData.buffer, byteData.offsetInBytes, byteData.lengthInBytes);
}