pub fn is_app(buf: &[u8]) -> bool
Determines whether a buffer is an application type.
use std::fs; assert!(infer::is_app(&fs::read("testdata/sample.wasm").unwrap()));