Skip to main content

has_magic

Function has_magic 

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

Quick magic check used by the put-path metrics emitter. Cheap enough to call on every blob.