pub fn decode_metadata(payload: &[u8], scene: &Scene) -> Vec<MetadataEntry>Expand description
Decodes a metadata payload against scene, the scene of the same file.
It never fails: a malformed payload is no metadata at all, and an entry
that breaks a rule of section 12 is left out (SPEC.md, 12.2).