Skip to main content

two_byte_profile_id

Function two_byte_profile_id 

Source
pub fn two_byte_profile_id(appbits: u8) -> Option<u16>
Expand description

Builds an RFC 8285 two-byte profile ID from the 4-bit appbits value.

Returns None when appbits cannot fit in the low nibble of the profile ID.