Java Utililty Methods ASCII from

List of utility methods to do ASCII from

Description

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

Method

bytetoASCIIUpperCase(byte b)
to ASCII Upper Case
if ('a' <= b && b <= 'z') {
    return (byte) (b - ('a' - 'A'));
return b;
StringtoASCIIUpperCase(String s)
to ASCII Upper Case
int len = s.length();
StringBuilder buffer = new StringBuilder(len);
for (int i = 0; i < len; i++) {
    char c = s.charAt(i);
    if ('a' <= c && c <= 'z') {
        buffer.append((char) (c - ('a' - 'A')));
    } else {
        buffer.append(c);
...