Function opus::packet::pad  
                   
                       [−]
                   
               [src]
pub fn pad(packet: &mut [u8], prev_len: usize) -> Result<usize>
Pad a given Opus packet to a larger size.
The packet will be extended from the first prev_len bytes of the
buffer into the rest of the available space.