interface Int16ArrayConstructor
Private

Properties

readonly
BYTES_PER_ELEMENT: number

The size in bytes of each element in the array.

Methods

of(...items: number[]): Int16Array

Returns a new array from a set of elements.

from(arrayLike: ArrayLike<number>): Int16Array

Creates an array from an array-like or iterable object.

from<T>(
arrayLike: ArrayLike<T>,
mapfn: (
v: T,
k: number,
) => number
,
thisArg?: any,
): Int16Array

Creates an array from an array-like or iterable object.