Documentation / base / TypedArrayConstructor
Type Alias: TypedArrayConstructor()<T>
TypedArrayConstructor<
T> =T
Defined in: libs/base/src/utils.ts:334
Type of a typed array constructor
Type Parameters
T
T extends TypedArray = any
Call Signature
new TypedArrayConstructor():
T
Type of a typed array constructor
Returns
T
Call Signature
new TypedArrayConstructor(
size):T
Type of a typed array constructor
Parameters
size
number
Returns
T
Call Signature
new TypedArrayConstructor(
elements):T
Type of a typed array constructor
Parameters
elements
number[]
Returns
T
Call Signature
new TypedArrayConstructor(
buffer):T
Type of a typed array constructor
Parameters
buffer
ArrayBuffer
Returns
T
Call Signature
new TypedArrayConstructor(
buffer,byteOffset):T
Type of a typed array constructor
Parameters
buffer
ArrayBuffer
byteOffset
number
Returns
T
Call Signature
new TypedArrayConstructor(
buffer,byteOffset,length):T
Type of a typed array constructor
Parameters
buffer
ArrayBuffer
byteOffset
number
length
number
Returns
T
Properties
BYTES_PER_ELEMENT
BYTES_PER_ELEMENT:
number
Defined in: libs/base/src/utils.ts:341