Function hdk::prelude::return_ptr
source · pub fn return_ptr<R>(return_value: R) -> u128
Expand description
Convert any serializable value into a GuestPtr
that can be returned to the host.
The host is expected to know how to consume and deserialize it.