pub fn encode_call_optimized<T, R>(
route_idx: u8,
value: &T::Params,
f: impl FnOnce(&[u8]) -> R,
) -> RExpand description
v2-specific: encode a call using a stack buffer (zero-copy, requires gcore).
Used in wasm32 on-chain dispatch code via the io_struct_impl! inherent methods.