Function linkspace::misc::read::read_pkt

pub fn read_pkt(
    bytes: &[u8],
    skip_hash_check: bool
) -> Result<Cow<'_, NetPktPtr>, Error>