toBytes method

Uint8List toBytes(
  1. [int offset = 0,
  2. int? length]
)

Returns a copy of the internal bytes (Uint8List) of this instance.

Implementation

Uint8List toBytes([int offset = 0, int? length]) =>
    bytesIO.toBytes(offset, length);