Interface Int8ArrayConstructor
Hierarchy
- Int8ArrayConstructor
Index
Constructors
constructor
-
Parameters
-
length: number
Returns Int8Array
-
-
Parameters
-
arrayOrArrayBuffer: ArrayLike<number> | ArrayBufferLike
Returns Int8Array
-
-
Parameters
-
buffer: ArrayBufferLike
-
byteOffset: number
-
Optional length: number
Returns Int8Array
-
Properties
BYTES_PER_ELEMENT
prototype
Methods
from
-
Creates an array from an array-like or iterable object.
Parameters
-
arrayLike: ArrayLike<number>
An array-like or iterable object to convert to an array.
-
Optional mapfn: function
A mapping function to call on every element of the array.
-
-
Parameters
-
v: number
-
k: number
Returns number
-
-
-
-
Optional thisArg: any
Value of 'this' used to invoke the mapfn.
Returns Int8Array
-
of
-
Returns a new array from a set of elements.
Parameters
-
Rest ...items: number[]
A set of elements to include in the new array object.
Returns Int8Array
-
Generated using TypeDoc
The size in bytes of each element in the array.