Struct opus::packet::Packet [] [src]

pub struct Packet<'a> {
    pub toc: u8,
    pub frames: Vec<&'a [u8]>,
    pub payload_offset: usize,
}

A parsed Opus packet, retuned from parse.

Fields

The TOC byte of the packet.

The frames contained in the packet.

The offset into the packet at which the payload is located.