wasm_encoder::reencode::component_utils

Function parse_component_payload

source
pub fn parse_component_payload<T: ?Sized + ReencodeComponent>(
    reencoder: &mut T,
    component: &mut Component,
    payload: Payload<'_>,
    whole_component: &[u8],
) -> Result<(), Error<T::Error>>
Available on crate features component-model and wasmparser only.