toUint8ListView method

Uint8List toUint8ListView()

Returns a view of the written bytes as Uint8List.

Implementation

Uint8List toUint8ListView() {
  return Uint8List.view(
    _byteData.buffer,
    _byteData.offsetInBytes,
    _length,
  );
}