Constructors
constructor
- new Memory(memory: Memory): Memory
Properties
wasm32
wasm32: boolean = true
Methods
loadCString
-
Parameters
Returns string
loadF32
-
Parameters
Returns number
loadF64
-
Parameters
Returns number
loadI32
-
Parameters
Returns number
loadI64
-
Parameters
Returns number
loadRawBytes
- loadRawBytes(ptr: Pointer, numBytes: number): Uint8Array
-
Parameters
Returns Uint8Array
loadTVMBytes
- loadTVMBytes(ptr: Pointer): Uint8Array
-
Parameters
Returns Uint8Array
loadU16
-
Parameters
Returns number
loadU32
-
Parameters
Returns number
loadU8
-
Parameters
Returns number
storeRawBytes
- storeRawBytes(ptr: Pointer, bytes: Uint8Array): void
Wasm Memory wrapper to perform JS side raw memory access.