pub fn from_bytes(init_data: &[u8]) -> Result<PsshBoxVec>
Expand description
Read one or more PSSH boxes from some initialization data provided as a slice of octets, returning an error if any non-PSSH data is found in the slice or if the parsing fails.