pub fn guess_format<In>(source: &mut In) -> Option<FileFormat>
Expand description
Guesses the archive format for a given source.
This function does not guarantee that the given source constitutes a well-formed archive of the deduced format. It merely remarks that if the file were a well-formed archive, it would be of the deduced format.