pub fn decode_packlist(bytes: &[u8]) -> Result<PackListNode, PackListError>Expand description
Parse a packlist node blob.
ยงErrors
Returns the matching PackListError for a short buffer, wrong magic,
or unknown version (the explicit guard header), or
PackListError::Malformed / PackListError::TooManyEntries from
the commonware-codec body (over-cap pack list, truncation, or
trailing bytes).