Struct rtp_rs::Pad [−][src]
pub struct Pad(_);
Expand description
Controls if and how an RTP packet should have padding appended after the payload
For example to have the builder add padding if required so that packet lengths are always a multiple of 4 bytes:
let mut builder = RtpPacketBuilder::new() .padded(Pad::round_to(4)); // configure the rest of the packet fields and then build the packet
Implementations
impl Pad
[src]
impl Pad
[src]