Given a pointer ptr
to a null-terminated UTF8-encoded string in the
Emscripten HEAP, returns a copy of that string as a JavaScript String
object.
A pointer to a null-terminated UTF8-encoded string in the Emscripten HEAP.
An optional length that specifies the maximum number of bytes to read. Omit to read until the null-terminator.
Free an allocated block of memory.
Pointer to a memory block previously allocated with malloc
.
Allocate a block of {@link size} bytes of memory in Emscripten HEAP
Size of the memory block, in bytes.
Returns a pointer to the beginning of the block.
Gets a value at a specific memory address at run-time. NOTE: it only does aligned write and read.
A pointer (number) representing the memory address.
An LLVM IR type as a string.
value at a specific address.
Write an uint8 array to the Emscripten HEAP.
Data to be written inside the Emscripten HEAP.
Address pointer
Generated using TypeDoc
Emscripten HEAP, use this for raw memory access.