Skip to main content

encode_with_length_prefix

Function encode_with_length_prefix 

Source
pub fn encode_with_length_prefix(msg: &QuicClientMessage) -> Vec<u8> 
Expand description

Encode a QuicClientMessage to protobuf bytes with a 4-byte big-endian length prefix, as required by the QUIC transport.