infer::archive

Function is_pdf

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

Returns whether a buffer is a PDF.