Function frame

Source
pub fn frame(bytes: Vec<u8>, header: &[u8]) -> Vec<u8> 
Expand description

encapsulation of data before sending