code: public static void iterateCodePoints (@Nullable final String sInputString, @Nonnull final IntConsumer aConsumer)
    {
      ValueEnforcer.notNull (aConsumer, "Consumer");
  
      if (sInputString != null)
      {
        final int nStringLength = sInputString.length ();
        int nOfs = 0;
        while (nOfs < nStringLength)
        {
          final int nCodePoint = sInputString.codePointAt (nOfs);
          nOfs += Character.charCount (nCodePoint);
  
          aConsumer.accept (nCodePoint);
        }
      }
    }
docs: Iterate all code points and pass them to the provided consumer. This
  implementation is approximately 20% quicker than
  <code>CharSequence.codePoints().forEachOrdered(c)</code>
  
  @param sInputString
  Input String to use. May be <code>null</code> or empty.
  @param aConsumer
  The consumer to be used. May not be <code>null</code>.