Function extism_pdk::extism::load
source · pub unsafe fn load(offs: u64, data: &mut [u8])
Expand description
Loads a byte array from Extism’s memory. Only use this if you
have already considered the plugin_fn macro as well as the extism_load_input
function.
§Arguments
offs
- The Extism offset pointer location to the memorydata
- The pointer to byte slice result