av_data::packet

Trait ReadPacket

Source
pub trait ReadPacket: Read {
    // Provided method
    fn get_packet(&mut self, len: usize) -> Result<Packet> { ... }
}
Expand description

Used to read a packet from a source.

Provided Methods§

Source

fn get_packet(&mut self, len: usize) -> Result<Packet>

Reads a packet from a source.

Implementors§

Source§

impl<R: Read + ?Sized> ReadPacket for R