Uint8List constructor

Uint8List(
  1. int length
)

Creates a Uint8List of the specified length (in elements), all of whose elements are initially zero.

The list is backed by a ByteBuffer containing precisely length bytes.

Implementation

external factory Uint8List(int length);