Function bsn1::contents::to_bool_ber[][src]

pub const fn to_bool_ber(bytes: &[u8]) -> Result<bool, Error>
Expand description

Parses bytes as a BER contents of Bool.

This function is valid only for the contents of BER, and not applied to the contents of DER nor CER.