Skip to main content

encode_command

Function encode_command 

Source
pub fn encode_command(name: &str, body: &[u8]) -> Vec<u8> ⓘ
Expand description

Encode a ZMTP command frame.

Command frame body format: <name-size (1 byte)><name><body>