tungstenite::protocol::frame::mask

Function apply_mask

source
pub fn apply_mask(buf: &mut [u8], mask: [u8; 4])
Expand description

Mask/unmask a frame.