Skip to main content

inspect

Function inspect 

Source
pub fn inspect(bytes: &[u8]) -> Result<ComponentShape, String>
Expand description

Reads a component’s top-level imports and exports. An error names why the bytes are not a component.