pub fn encode_runtime_api_inputs_with_info_to<Resolver, Inputs>(
inputs: Inputs,
runtime_api_info: &RuntimeApiInfo<'_, <Resolver as TypeResolver>::TypeId>,
type_resolver: &Resolver,
out: &mut Vec<u8>,
) -> Result<(), RuntimeApiInputsEncodeError>where
Inputs: IntoEncodableValues,
Resolver: TypeResolver,
<Resolver as TypeResolver>::TypeId: Clone + Debug,Expand description
Encode the inputs to a Runtime API to a provided output Vec.
Unlike encode_runtime_api_inputs_to, which obtains the Runtime API info internally given trait and method names,
this function takes the Runtime API info as an argument. This is useful if you already have the info available,
for example if you are encoding multiple inputs for a given Runtime API.