Interface ArrayBufferConstructor

Hierarchy

  • ArrayBufferConstructor

Constructors

Properties

Methods

Constructors

  • Parameters

    • byteLength: number

    Returns ArrayBuffer

Properties

prototype: ArrayBuffer

Methods

  • Parameters

    • arg: any

    Returns arg is ArrayBufferView

  • Creates an ArrayBuffer backed by an existing memory region. Unlike the NativePointer read*() and write*() APIs, no validation is performed on access, meaning a bad pointer will crash the process.

    Parameters

    • address: NativePointerValue

      Base address of the region. Passing NULL will result in an empty buffer.

    • size: number

      Size of the region. Passing 0 will result in an empty buffer.

    Returns ArrayBuffer

Generated using TypeDoc