[][src]Function message_protocol::encode_message

pub fn encode_message(bytes: &[u8]) -> Vec<u8>

Encodes a binary message so it can be read on the other side.