Function huawei_modem::gsm_encoding::gsm_decode_string
source · pub fn gsm_decode_string(input: &[u8]) -> String
Expand description
Decode a GSM 7-bit-encoded buffer into a string.
Warning: You need to unpack the string first; this method operates on unpacked septets, not
packed septets. See the pdu
module for more.
This method is lossy, and doesn’t complain about crap that it can’t decode.