Class CharsetUTF8.CharsetEncoderUTF8

    • Field Detail

      • sourceIndex

        private int sourceIndex
      • targetIndex

        private int targetIndex
    • Constructor Detail

      • CharsetEncoderUTF8

        public CharsetEncoderUTF8​(CharsetICU cs)
    • Method Detail

      • encodeLoop

        protected java.nio.charset.CoderResult encodeLoop​(java.nio.CharBuffer source,
                                                          java.nio.ByteBuffer target,
                                                          java.nio.IntBuffer offsets,
                                                          boolean flush)
        Specified by:
        encodeLoop in class CharsetEncoderICU
      • encodeFourBytes

        private final java.nio.charset.CoderResult encodeFourBytes​(char[] sourceArray,
                                                                   byte[] targetArray,
                                                                   int sourceLimit,
                                                                   int targetLimit,
                                                                   int char32)
      • encodeFourBytes

        private final java.nio.charset.CoderResult encodeFourBytes​(java.nio.CharBuffer source,
                                                                   java.nio.ByteBuffer target,
                                                                   int char32)