Interface StreamingEncoder

    • Method Detail

      • encodeToStream

        void encodeToStream​(Encoder thisInstance,
                            java.lang.CharSequence source,
                            int offset,
                            int len,
                            EncodedAppender appender,
                            EncodingState encodingState)
                     throws java.io.IOException
        Encode and append portion of source CharSequence to the appender.
        Parameters:
        source - The source CharSequence
        offset - Offset from which to start encoding characters
        len - Number of characters to encode
        appender - the appender to write to
        encodingState - the current encoding state
        Throws:
        java.io.IOException - Signals that an I/O exception has occurred.