rustls_pki_types::base64

Function u8_broadcast8

source
fn u8_broadcast8(x: u8) -> u8
Expand description

Broadcasts the top bit of x

In other words, if the top bit of x is set, returns 0xff else 0x00.