toBytes method

Uint8List toBytes()

The bytes in use, copied into a new list.

Implementation

Uint8List toBytes() =>
    Uint8List.fromList(Uint8List.sublistView(storage, 0, length));