Skip to main content

parse

Function parse 

Source
pub fn parse(bytes: &[u8]) -> Result<MacBinaryFile>
Expand description

Parse a buffer believed to be MacBinary into a MacBinaryFile. Lenient: no CRC enforcement (some legacy II archives carry garbage there) and an empty resource fork is accepted. Use is_macbinary first for content-driven detection.