rustls_pki_types::base64

Function u8_in_range

source
fn u8_in_range(a: u8, lo: u8, hi: u8) -> u8
Expand description

Returns 0xff if a in lo..=hi.

lo..=hi must not be 0..=255. Callers in this file have constant lo and hi, and this function is private to this file.