public static String b2hex(byte b){
  return String.format("%02X ",b);
}

public static String b2hex ( byte b ) { return String . format ( "%02X " , b ) ; }
converts a byte to a hexadecimal string representation
