Skip to main content

encode

Function encode 

Source
pub fn encode(packet: Packet<'_>) -> Result<Vec<u8>, PacketError>
Expand description

Host-side encoding of the same shape. State bytes do not enter this packet.