Skip to main content

encode

Function encode 

Source
pub fn encode(msg: &SyncMessage, writer: &mut impl Write) -> ZamResult<usize>
Expand description

Encodes msg onto writer and returns the number of bytes written to the wire.