Function message_io::encoding::encode_size[][src]

pub fn encode_size(message: &[u8]) -> [u8; 4]

Encode a message, returning the bytes that must be sent before the message.