Function opus::packet::unpad [] [src]

pub fn unpad(packet: &mut [u8]) -> Result<usize>

Remove all padding from a given Opus packet and rewrite the TOC sequence to minimize space usage.