Skip to main content

encode_multipart

Function encode_multipart 

Source
pub fn encode_multipart(parts: &[&[u8]]) -> Vec<u8> ⓘ
Expand description

Encode a multipart message as ZMTP frames.

Each part becomes one message frame (COMMAND=0). The last frame has MORE=0.