pub fn scramble(&mut self, quic_bit: bool) {
        debug_assert!(self.len() > self.header.start);
        let mask = if quic_bit { PACKET_BIT_FIXED_QUIC } else { 0 }
            | if self.is_long() { 0 } else { PACKET_BIT_SPIN };
        let first = self.header.start;
        self[first] ^= random(1)[0] & mask;
    }
/// Add unpredictable values for unprotected parts of the packet.
Add unpredictable values for unprotected parts of the packet.
Add unpredictable values for unprotected parts of the packet .
pub fn scramble(&mut self, quic_bit: bool) {
        debug_assert!(self.len() > self.header.start);
        let mask = if quic_bit { PACKET_BIT_FIXED_QUIC } else { 0 }
            | if self.is_long() { 0 } else { PACKET_BIT_SPIN };
        let first = self.header.start;
        self[first] ^= random(1)[0] & mask;
    }
pub fn scramble ( & mut self , quic_bit : bool ) { debug_assert ! ( self len ( ) self header start ) ; let mask = if quic_bit { PACKET_BIT_FIXED_QUIC } else { 0 } | if self . is_long ( ) { 0 } else { PACKET_BIT_SPIN } ; let first = self . header . start ; self [ first ] ^= random ( 1 ) [ 0 ] & mask ; }
Add unpredictable values for unprotected parts of the packet.
Add unpredictable values for unprotected parts of the packet .
&mut self
quic_bit
bool