Skip to main content

encode_protobuf_frame

Function encode_protobuf_frame 

Source
pub fn encode_protobuf_frame(frame: &CodecFrame) -> Vec<u8> 
Expand description

Encode frame as a length-prefixed protobuf frame (4-byte BE length + payload).