JSUint16Array constructor

JSUint16Array([
  1. JSArrayBuffer buffer,
  2. int byteOffset,
  3. int length
])

Creates a JavaScript Uint16Array with buffer as its backing storage, offset by byteOffset bytes, of size length.

If no buffer is provided, creates an empty Uint16Array.

Implementation

external JSUint16Array([JSArrayBuffer buffer, int byteOffset, int length]);