Uint16List constructor

Uint16List(
  1. int length
)

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

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

Implementation

external factory Uint16List(int length);