pub fn pad(&mut self) -> bool {
        if self.padding && !self.is_long() {
            self.encoder.pad_to(self.limit, 0);
            true
        } else {
            false
        }
    }
/// Maybe pad with "PADDING" frames.
/// Only does so if padding was needed and this is a short packet.
/// Returns true if padding was added.
Maybe pad with "PADDING" frames.
Only does so if padding was needed and this is a short packet.
Returns true if padding was added.
Maybe pad with " PADDING " frames . Only does so if padding was needed and this is a short packet . Returns true if padding was added .
pub fn pad(&mut self) -> bool {
        if self.padding && !self.is_long() {
            self.encoder.pad_to(self.limit, 0);
            true
        } else {
            false
        }
    }
pub fn pad ( & mut self ) -> bool { if self . padding && ! self . is_long ( ) { self . encoder . pad_to ( self . limit , 0 ) ; true } else { false } }
Maybe pad with "PADDING" frames.
Maybe pad with " PADDING " frames .
&mut self