Struct ogg::PacketWriter
[−]
[src]
pub struct PacketWriter<'a, T: Write + 'a> { // some 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<'a, T: Write + 'a> PacketWriter<'a, T>
[src]
fn new(wtr: &mut T) -> PacketWriter<T>
fn write_packet(&mut self, pck_cont: Rc<[u8]>, serial: u32, inf: PacketWriteEndInfo, absgp: u64) -> IoResult<()>
Write a packet