Module holochain_wasmer_host::guest[][src]

Functions

call

Host calling guest for the function named call with the given payload in a vector of bytes result is either a vector of bytes from the guest found at the location of the returned guest allocation pointer or a WasmError.

from_guest_ptr

Deserialize any DeserializeOwned type out of the guest from a guest pointer.

read_bytes

read a slice of bytes from the guest in a safe-ish way

write_bytes

write a slice of bytes to the guest in a safe-ish way