Skip to main content

encode_server_frame

Function encode_server_frame 

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

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