List of utility methods to do Byte to ASCII
char | byteToASCII(final byte b) Convert a byte to a character representation. if ((b < 32) || (b > 126)) { return ' '; } else { return (char) b; |
char | byteToASCII(final byte b) Retrieves the printable ASCII representation of the provided byte. if (isPrintable(b)) { return (char) b; return ' '; |
char | byteToAscii(final byte byteToAscii) byte To Ascii return (char) byteToAscii; |
String | byteToAscii(int val) Very fast 8-bit int to ASCII conversion. if (val >= 32 && val <= 126) { return ASCII_CONSTANTS[val - 32]; } else { return NON_PRINTABLE; |