rustls_pki_types::base64

Function u8_broadcast16

source
fn u8_broadcast16(x: u16) -> u8
Expand description

Broadcasts the top bit of x

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