Skip to main content

remove_final_empty_metablock

Function remove_final_empty_metablock 

Source
fn remove_final_empty_metablock(final_bytes: &[u8]) -> Option<(u64, usize)>
Expand description

Splits the final bytes of a stream into the bits before its closing ISLAST + ISLASTEMPTY pair, returning them with their count, or None if the bytes don’t end that way.