darkfi_sdk::wasm::entrypoint

Function deserialize

Source
pub unsafe fn deserialize<'a>(input: *mut u8) -> (ContractId, &'a [u8])
Expand description

Deserialize a given payload in entrypoint The return values from this are the input values for the above defined functions.

ยงSafety