pub fn encode_frame(frame: &BinaryFrame) -> Result<Vec<u8>>Expand description
Encode a frame into a byte buffer (length prefix + body).
pub fn encode_frame(frame: &BinaryFrame) -> Result<Vec<u8>>Encode a frame into a byte buffer (length prefix + body).