Interface BigUint64ArrayConstructor
interface BigUint64ArrayConstructor {
new BigUint64ArrayConstructornew (length?: number): BigUint64Array;
new BigUint64ArrayConstructornew (array: Iterable<bigint, any, any>): BigUint64Array;
new BigUint64ArrayConstructornew (buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigUint64Array;
BYTES_PER_ELEMENT: number;
prototype: BigUint64Array;
from(arrayLike: ArrayLike<bigint>): BigUint64Array;
from<U>(arrayLike: ArrayLike<U>, mapfn: ((v: U, k: number) => bigint), thisArg?: any): BigUint64Array;
of(...items: bigint[]): BigUint64Array;
}
new BigUint64ArrayConstructornew (length?: number): BigUint64Array;
new BigUint64ArrayConstructornew (array: Iterable<bigint, any, any>): BigUint64Array;
new BigUint64ArrayConstructornew (buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigUint64Array;
BYTES_PER_ELEMENT: number;
prototype: BigUint64Array;
from(arrayLike: ArrayLike<bigint>): BigUint64Array;
from<U>(arrayLike: ArrayLike<U>, mapfn: ((v: U, k: number) => bigint), thisArg?: any): BigUint64Array;
of(...items: bigint[]): BigUint64Array;
}
Index
Constructors
constructor
- new
Big (length?): BigUint64ArrayUint64 Array Constructor Parameters
Optional
length: number
Returns BigUint64Array
- new
Big (array): BigUint64ArrayUint64 Array Constructor Parameters
- array: Iterable<bigint, any, any>
Returns BigUint64Array
- new
Big (buffer, byteOffset?, length?): BigUint64ArrayUint64 Array Constructor Parameters
- buffer: ArrayBufferLike
Optional
byteOffset: numberOptional
length: number
Returns BigUint64Array
Methods
from
- from(arrayLike): BigUint64Array
Creates an array from an array-like or iterable object.
Parameters
- arrayLike: ArrayLike<bigint>
An array-like or iterable object to convert to an array.
Returns BigUint64Array
- arrayLike: ArrayLike<bigint>
- from<U>(arrayLike, mapfn, thisArg?): BigUint64Array
Type Parameters
Parameters
Returns BigUint64Array
of
- of(...items): BigUint64Array
Returns a new array from a set of elements.
Parameters
Rest
...items: bigint[]A set of elements to include in the new array object.
Returns BigUint64Array
The size in bytes of each element in the array.