List of utility methods to do Byte Print
void | printByte(byte b) Prints a byte. String s1 = String.format("%8s", Integer.toBinaryString(b & 0xFF)).replace(' ', '0'); System.out.println(s1); |
String | printByte(byte b) print Byte final String BYTE_FORMAT = "%02x"; return String.format(BYTE_FORMAT, b); |