pub fn split_superframe(chunk: &Bytes) -> Result<Vec<Bytes>>Expand description
The frames of chunk: those its superframe index lists, in order, or the chunk itself when
it has no index (Annex B.3: the index is recognised by its marker byte at the end, repeated
at the start of the index). An empty chunk has no frame.
ยงErrors
An index whose frame sizes do not make up the chunk exactly with the index, or that lists a frame of size 0.