Skip to main content

encode_hello

Function encode_hello 

Source
pub fn encode_hello(protocol_version: u16) -> [u8; 3]
Expand description

Encodes a hello frame (0x01) announcing the protocol version.