Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TypedArrayConstructor<T>

Type parameters

Hierarchy

  • TypedArrayConstructor

Index

Constructors

Properties

Methods

Constructors

constructor

  • new TypedArrayConstructor(length: number): T
  • new TypedArrayConstructor(elements: Iterable<number>): T
  • new TypedArrayConstructor(arrayOrArrayBuffer: ArrayLike<number> | ArrayBufferLike): T
  • new TypedArrayConstructor(buffer: ArrayBufferLike, byteOffset: number, length?: undefined | number): T
  • Parameters

    • length: number

    Returns T

  • Parameters

    • elements: Iterable<number>

    Returns T

  • Parameters

    • arrayOrArrayBuffer: ArrayLike<number> | ArrayBufferLike

    Returns T

  • Parameters

    • buffer: ArrayBufferLike
    • byteOffset: number
    • Optional length: undefined | number

    Returns T

Properties

BYTES_PER_ELEMENT

BYTES_PER_ELEMENT: number

prototype

prototype: T

Methods

from

  • from(arrayLike: ArrayLike<number> | Iterable<number>, mapfn?: undefined | function, thisArg?: any): T
  • Parameters

    • arrayLike: ArrayLike<number> | Iterable<number>
    • Optional mapfn: undefined | function
    • Optional thisArg: any

    Returns T

of

  • of(...items: number[]): T
  • Parameters

    • Rest ...items: number[]

    Returns T

Generated using TypeDoc