Struct ogg::writing::PacketWriter
[−]
[src]
pub struct PacketWriter<T: Write> { /* fields omitted */ }
Writer for packets into an Ogg stream.
Note that the functionality of this struct isn't as well tested as for
the PacketReader
struct.
Methods
impl<T: Write> PacketWriter<T>
[src]
fn new(wtr: T) -> Self
fn into_inner(self) -> T
fn write_packet(
&mut self,
pck_cont: Box<[u8]>,
serial: u32,
inf: PacketWriteEndInfo,
absgp: u64
) -> Result<(), Error>
&mut self,
pck_cont: Box<[u8]>,
serial: u32,
inf: PacketWriteEndInfo,
absgp: u64
) -> Result<(), Error>
Write a packet