Trait smpte2022_1_fec::Packet [−][src]
Required methods
fn payload(&self) -> &[u8]
[src]
fn payload_mut(&mut self) -> &mut [u8]
[src]
fn truncate(&mut self, size: usize)
[src]
adjust the size of the underlying buffer to the given value
##Panics
Will panic if the given size is larger than the packet size of the BufferPool
which
allocated this packet.