Skip to main content

encode_client_frame

Function encode_client_frame 

Source
pub fn encode_client_frame(frame: &OnionUdpClientFrame) -> Result<Vec<u8>>
Expand description

Encode one OnionUdpClientFrame with its 4-byte big-endian length prefix.