toUint8ListView method

Uint8List toUint8ListView()

Returns a view at the written bytes. The length will be equal to length.

Implementation

Uint8List toUint8ListView() {
  final byteData = this._byteData;
  return new Uint8List.view(
    byteData.buffer,
    byteData.offsetInBytes,
    this._length,
  );
}