read_packet

Function read_packet 

Source
pub fn read_packet(r: impl Read, buf: &mut Vec<u8>) -> Result<u64>
Expand description

Read a packet in buf and returns the packet presentation timestamp.