Skip to main content

encode_header

Function encode_header 

Source
pub fn encode_header(
    buf: &mut Vec<u8>,
    ty: PacketType,
    fragmented: bool,
    cid: &ConnId,
)
Available on crate feature std and non-WebAssembly only.
Expand description

Append [flags][cid] to buf.