List of utility methods to do Binary to String
String | binaryToString(byte[] string) binary To String int readBytes = string.length; StringBuffer hexData = new StringBuffer(); for (int i = 0; i < readBytes; i++) { hexData.append(hexLookupTable[0xff & string[i]]); return hexData.toString(); |
String | boolean2string(boolean b) booleanstring return b ? "True" : "False"; |
String | boolean2string(boolean b) Converts a Boolean value to a String value. return b ? "True" : "False"; |