Skip to main content

decode_fragment

Function decode_fragment 

Source
pub fn decode_fragment(src: &[u8]) -> Result<(FragmentHeader, &[u8]), QdnfError>
Expand description

Decodes a fragment header, returning it with the payload slice.