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

    Interface BigUint64ArrayConstructor

    interface BigUint64ArrayConstructor {
        new BigUint64ArrayConstructor(
            length?: number,
        ): BigUint64Array<ArrayBuffer>;
        new BigUint64ArrayConstructor(
            array: ArrayLike<bigint> | Iterable<bigint, any, any>,
        ): BigUint64Array<ArrayBuffer>;
        new BigUint64ArrayConstructor<
            TArrayBuffer extends ArrayBufferLike = ArrayBuffer,
        >(
            buffer: TArrayBuffer,
            byteOffset?: number,
            length?: number,
        ): BigUint64Array<TArrayBuffer>;
        new BigUint64ArrayConstructor(
            buffer: ArrayBuffer,
            byteOffset?: number,
            length?: number,
        ): BigUint64Array<ArrayBuffer>;
        new BigUint64ArrayConstructor(
            array: ArrayBuffer | ArrayLike<bigint>,
        ): BigUint64Array<ArrayBuffer>;
        new BigUint64ArrayConstructor(length?: number): BigUint64Array;
        new BigUint64ArrayConstructor(array: Iterable<bigint>): BigUint64Array;
        new BigUint64ArrayConstructor(
            buffer: ArrayBufferLike,
            byteOffset?: number,
            length?: number,
        ): BigUint64Array;
        BYTES_PER_ELEMENT: number;
        prototype: BigUint64Array<ArrayBufferLike>;
        from(arrayLike: ArrayLike<bigint>): BigUint64Array<ArrayBuffer>;
        from<U>(
            arrayLike: ArrayLike<U>,
            mapfn: (v: U, k: number) => bigint,
            thisArg?: any,
        ): BigUint64Array<ArrayBuffer>;
        from(elements: Iterable<bigint>): BigUint64Array<ArrayBuffer>;
        from<T>(
            elements: Iterable<T>,
            mapfn?: (v: T, k: number) => bigint,
            thisArg?: any,
        ): BigUint64Array<ArrayBuffer>;
        from(arrayLike: ArrayLike<bigint>): BigUint64Array;
        from<U>(
            arrayLike: ArrayLike<U>,
            mapfn: (v: U, k: number) => bigint,
            thisArg?: any,
        ): BigUint64Array;
        of(...items: bigint[]): BigUint64Array<ArrayBuffer>;
        of(...items: bigint[]): BigUint64Array;
    }
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    BYTES_PER_ELEMENT: number

    The size in bytes of each element in the array.

    prototype: BigUint64Array<ArrayBufferLike>

    Methods

    • Creates an array from an array-like or iterable object.

      Parameters

      • arrayLike: ArrayLike<bigint>

        An array-like object to convert to an array.

      Returns BigUint64Array<ArrayBuffer>

    • Creates an array from an array-like or iterable object.

      Type Parameters

      • U

      Parameters

      • arrayLike: ArrayLike<U>

        An array-like object to convert to an array.

      • mapfn: (v: U, k: number) => bigint

        A mapping function to call on every element of the array.

      • OptionalthisArg: any

        Value of 'this' used to invoke the mapfn.

      Returns BigUint64Array<ArrayBuffer>

    • Creates an array from an array-like or iterable object.

      Parameters

      • elements: Iterable<bigint>

        An iterable object to convert to an array.

      Returns BigUint64Array<ArrayBuffer>

    • Creates an array from an array-like or iterable object.

      Type Parameters

      • T

      Parameters

      • elements: Iterable<T>

        An iterable object to convert to an array.

      • Optionalmapfn: (v: T, k: number) => bigint

        A mapping function to call on every element of the array.

      • OptionalthisArg: any

        Value of 'this' used to invoke the mapfn.

      Returns BigUint64Array<ArrayBuffer>

    • 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

    • Type Parameters

      • U

      Parameters

      • arrayLike: ArrayLike<U>
      • mapfn: (v: U, k: number) => bigint
      • OptionalthisArg: any

      Returns BigUint64Array