Skip to main content

pack

Function pack 

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

Prefix node bytes with the format byte: the inverse of unpack, turning a buffer the decoder consumed back into one a send path accepts.