Struct ogg::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: Rc<[u8]>,
serial: u32,
inf: PacketWriteEndInfo,
absgp: u64)
-> IoResult<()>
pck_cont: Rc<[u8]>,
serial: u32,
inf: PacketWriteEndInfo,
absgp: u64)
-> IoResult<()>
Write a packet