pub fn validate(binary: &[u8]) -> Result<(), Error>
Checks whether a WASM module in binary format is valid.