pub fn is_webc(reader: &[u8]) -> bool
Expand description
Check if the provided item looks like a WEBC file.
This function is a quick check to make sure the provided source has the WEBC magic a version number, and will not do any expensive parsing or validation.
assert!(webc::is_webc(b"\0webc002"));
This is just a specialised version of detect()
.