Function readBufferFromWasm

  • Parameters

    • module: PAG
    • data: ArrayLike<number> | ArrayBufferLike
    • handle: ((byteOffset: number, length: number) => boolean)
        • (byteOffset: number, length: number): boolean
        • Parameters

          • byteOffset: number
          • length: number

          Returns boolean

    Returns {
        data: null;
        free: (() => void);
    } | {
        data: Uint8Array;
        free: (() => void);
    }

Generated using TypeDoc