Skip to main content

encode

Function encode 

Source
pub fn encode(kind: u8, request_id: u16, content: &[u8]) -> Vec<u8> ⓘ
Expand description

One record, padded to a multiple of 8 as the specification recommends.