Function websocket_base::ws::util::mask::mask_data[][src]

pub fn mask_data(mask: [u8; 4], data: &[u8]) -> Vec<u8>

Masks data to send to a server and writes