Int16List constructor

Int16List(
  1. int length
)

Creates an Int16List 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 Int16List(int length);