Android Utililty Methods String to ASCII Convert

List of utility methods to do String to ASCII Convert

Description

The list of methods to do String to ASCII Convert are organized into topic(s).

Method

byte[]toAsciiBytes(String data)
to Ascii Bytes
try {
    return data == null ? null : data.getBytes("US-ASCII");
} catch (UnsupportedEncodingException e) {
    throw new IllegalStateException(e);