Skip to main content

has_wasm_magic

Function has_wasm_magic 

Source
pub fn has_wasm_magic(bytes: &[u8]) -> bool
Expand description

Returns ‘true’ when the byte slice starts with the WebAssembly magic bytes.