code: public static String toHexString(byte[] src, int offset, int length) {
          return toHexString(new StringBuilder(length << 1), src, offset, length).toString();
      }
docs: Converts the specified byte array into a hexadecimal value.