Function rtcp_types::utils::parser::parse_padding
source · pub fn parse_padding(packet: &[u8]) -> Option<u8>Expand description
Parses the padding from the provided packet data.
Returns the last byte of the packet if the padding bit is set
otherwise returns None.