- Preparing search index...
- The search index is not available
libpag
Function readBufferFromWasm
- readBufferFromWasm(module: PAG, data: ArrayLike<number> | ArrayBufferLike, handle: ((byteOffset: number, length: number) => boolean)): {
data: null;
free: (() => void);
} | {
data: Uint8Array;
free: (() => void);
}
-
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);
}