public static final String byteToHexString(byte a){
  StringBuffer sb=new StringBuffer(2);
  sb.append(NIBBLE[(a >>> 4) & 0xf]);
  sb.append(NIBBLE[a & 0xf]);
  return sb.toString();
}

public static final String byteToHexString ( byte a ) { StringBuffer sb = new StringBuffer ( 2 ) ; sb . append ( NIBBLE [ ( a > > > 4 ) & 0xf ] ) ; sb . append ( NIBBLE [ a & 0xf ] ) ; return sb . toString ( ) ; }
convert a byte to a string of hexadecimal digits .
