Function huawei_modem::gsm_encoding::try_gsm_encode_char
source · pub fn try_gsm_encode_char(b: char, dest: &mut Vec<u8>) -> bool
Expand description
Tries to encode a character into the given destination buffer, returning true
if the
character was successfully encoded, and false
if the character cannot be represented in the
GSM 7-bit encoding.