pub fn parse_ber_bool(i: &[u8]) -> BerResult<'_>
Expand description

Read a boolean value

The encoding of a boolean value shall be primitive. The contents octets shall consist of a single octet.

If the boolean value is FALSE, the octet shall be zero. If the boolean value is TRUE, the octet shall be one byte, and have all bits set to one (0xff).