Skip to main content

decode_gn_btp_headers

Function decode_gn_btp_headers 

Source
pub fn decode_gn_btp_headers(
    input: &[u8],
) -> Result<(&[u8], Box<TransportHeader>, Packet<'_>), String>
Expand description

Decodes the GeoNetworking and BTP headers and returns the remaining data

ยงErrors

Returns human-readable error descriptions when decoding failed