Crate pre_hf

Source

Functions§

_allocate
WebAssembly export that allocates a pointer (linear memory offset) that can be used for a string.
_deallocate
WebAssembly export that deallocates a pointer of the given size (linear memory offset, byteCount) allocated by [allocate].
log
ptr_to_string
Returns a string from WebAssembly compatible numeric types representing its pointer and length.
string_to_ptr
Returns a pointer and size pair for the given string in a way compatible with WebAssembly numeric types.