infer::image

Function is_jpeg

Source
pub fn is_jpeg(buf: &[u8]) -> bool
Expand description

Returns whether a buffer is JPEG image data.