Function linkspace::point::lk_read

source ·
pub fn lk_read(
    buf: &[u8],
    allow_private: bool
) -> Result<(Cow<'_, NetPktPtr>, &[u8]), PktError>
Expand description

parse a NetPktPtr (the standard binary format) from a buffer