@CheckReturnValue @Nonnull static public String twoHexFromInt(int val){
  StringBuilder sb=new StringBuilder();
  sb.append(HEX_CHARS[(val & 0xF0) >> 4]);
  sb.append(HEX_CHARS[val & 0x0F]);
  return sb.toString();
}

@ CheckReturnValue @ Nonnull static public String twoHexFromInt ( int val ) { StringBuilder sb = new StringBuilder ( ) ; sb . append ( HEX_CHARS [ ( val & 0xF0 ) > > 4 ] ) ; sb . append ( HEX_CHARS [ val & 0x0F ] ) ; return sb . toString ( ) ; }
convert an integer to an exactly two hexadecimal characters string
