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
toc: u8
The TOC byte of the packet.
frames: Vec<&'a [u8]>
The frames contained in the packet.
payload_offset: usize
The offset into the packet at which the payload is located.