Function opus::packet::unpad

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

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