Skip to main content

deserialize_highlight

Function deserialize_highlight 

pub fn deserialize_highlight(byte: u8) -> bool
Expand description

Deserialize a single byte into a highlight flag.

§Arguments

§Returns

true if the byte signals a highlighted client, false otherwise.

§Panics

Panics on any byte other than 0 or 1 (protocol mismatch or pipe corruption).