pub fn box_header(hdr: &[u8], remaining: u64) -> Result<BoxHeader>Expand description
Parse a box header from hdr (>= 8 bytes; >= 16 if it uses a 64-bit
largesize). remaining is the byte count from this box’s start to EOF, used
to resolve a size == 0 (“extends to end”) box.