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

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

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator

Masks data to send to a server and writes