Skip to main content

encode_tmessage

Function encode_tmessage 

Source
pub fn encode_tmessage(tag: u16, msg_type: u8, body: &[u8]) -> Vec<u8> ⓘ
Expand description

Serialize a T-message to wire format (including length prefix).