code: public static String toHex(final byte[] buffer, final int offset, final int length)
      {
          return new String(toHexByteArray(buffer, offset, length), UTF_8);
      }
docs: Generate a string that is the hex representation of a given byte array.
  
  @param buffer to convert to a hex representation.
  @param offset the offset into the buffer.
  @param length the number of bytes to convert.
  @return new String holding the hex representation (in Big Endian) of the passed array.