Skip to main content

encode_frame

Function encode_frame 

Source
pub fn encode_frame<H: Serialize>(header: &H, payload: &[u8]) -> Vec<u8> ⓘ
Expand description

The frame of header, a struct or map, and payload.