神岛 API 文档 - ArenaPro版
    Preparing search index...

    Interface ArrayBufferConstructor

    表示 ArrayBuffer 的构造函数。

    Represents the constructor of ArrayBuffer.

    interface ArrayBufferConstructor {
        new ArrayBufferConstructor(byteLength: number): ArrayBuffer;
        "[species]": ArrayBufferConstructor;
        prototype: ArrayBuffer;
        isView(arg: any): arg is ArrayBufferView<ArrayBufferLike>;
    }
    Index

    Constructors

    Properties

    Methods

    Constructors

    • Parameters

      • byteLength: number

      Returns ArrayBuffer

      创建一个新的 ArrayBuffer。

      Creates a new ArrayBuffer.

      ArrayBuffer 的字节长度。

      The length of the ArrayBuffer in bytes.

    Properties

    一个函数值的属性,是用于创建派生对象的构造函数。

    A function valued property that is the constructor function that is used to create derived objects.

    prototype: ArrayBuffer

    ArrayBuffer 的原型对象。

    The prototype of ArrayBuffer.

    Methods

    • Parameters

      • arg: any

      Returns arg is ArrayBufferView<ArrayBufferLike>

      检查一个值是否为 ArrayBufferView。

      Checks if a value is an ArrayBufferView.

      要检查的值。

      The value to check.