Frida Docs Unified
    Preparing search index...

    Interface ArrayBufferConstructor

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

    Constructors

    Properties

    Methods

    Constructors

    Properties

    prototype: ArrayBuffer

    Methods

    • Parameters

      • arg: any

      Returns arg is ArrayBufferView<ArrayBufferLike>

    • 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