Skip to main content

is_one_byte_id

Function is_one_byte_id 

Source
pub const fn is_one_byte_id(id: u8) -> bool
Expand description

Returns whether id is usable as an RFC 8285 one-byte element ID.

ID 0 is padding and ID 15 is reserved, so only 1 through 14 can identify negotiated extension values.