Function packet_formats::igmp::parse_v3_possible_floating_point

source ยท
pub fn parse_v3_possible_floating_point(code: u8) -> u32
Expand description

Parses a code that may be representing a floating point value.

Defined in RFC 3376 and used in IGMP v3 membership queries and membership responses.

The floating point format is as follows:

If Code < 128, Value = Code