toBytes method

Uint8List toBytes()

Get the internals as bytes (copied buffer).

Implementation

Uint8List toBytes() {
  return Uint8List.fromList(_data);
}