pub fn wasm_binary_size(bytes: &[u8]) -> usize
Returns the size, in bytes, of the wasm module in bytes.
bytes
This excludes custom sections to avoid counting easily strippable sections such as debuginfo.