Skip to main content

parse

Function parse 

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

Parse an ATX container: validate the magic (loud on failure), walk the framed chunk list, and parse HEAD + locate the texture payload. Malformed chunks after a valid magic degrade to Atx::warnings.