Skip to main content

read_component_info

Function read_component_info 

Source
pub fn read_component_info(component_bytes: &[u8]) -> Result<ComponentInfo>
Expand description

Read component info from the act:component custom section (CBOR-encoded) and standard WASM metadata sections (version, description) as fallback.