Bytes.fromUint8List constructor

Bytes.fromUint8List(
  1. Uint8List data
)

Wraps data without copying. The caller must not mutate data while this view is alive.

Implementation

factory Bytes.fromUint8List(Uint8List data) => Bytes._(data, 0, data.length);