pub fn encode_binary(id: u8, payload: &[u8]) -> Vec<u8> ⓘ
Encodes one binary message: the id byte followed by the payload.