Class CharsetSCSU.CharsetEncoderSCSU

    • Field Detail

      • delta

        private int delta
      • length

        private int length
      • offset

        private int offset
      • lead

        private char lead
      • trail

        private char trail
      • code

        private int code
      • window

        private byte window
      • isSingleByteMode

        private boolean isSingleByteMode
      • dynamicWindow

        private byte dynamicWindow
      • currentOffset

        private int currentOffset
      • c

        int c
      • sourceIndex

        private int sourceIndex
      • nextSourceIndex

        private int nextSourceIndex
      • targetCapacity

        private int targetCapacity
      • LabelLoop

        private boolean LabelLoop
      • AfterGetTrail

        private boolean AfterGetTrail
      • AfterGetTrailUnicode

        private boolean AfterGetTrailUnicode
      • cr

        java.nio.charset.CoderResult cr
    • Constructor Detail

      • CharsetEncoderSCSU

        public CharsetEncoderSCSU​(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
      • getWindow

        private byte getWindow​(int[] offsets)
      • isInOffsetWindowOrDirect

        private boolean isInOffsetWindowOrDirect​(int offsetValue,
                                                 int a)
      • getNextDynamicWindow

        private byte getNextDynamicWindow()
      • useDynamicWindow

        private void useDynamicWindow​(byte windowValue)
      • getDynamicOffset

        private int getDynamicOffset()
      • loop

        private int loop​(java.nio.CharBuffer source,
                         java.nio.ByteBuffer target,
                         java.nio.IntBuffer offsets)
      • getTrail

        private int getTrail​(java.nio.CharBuffer source,
                             java.nio.ByteBuffer target,
                             java.nio.IntBuffer offsets)
      • getTrailUnicode

        private int getTrailUnicode​(java.nio.CharBuffer source,
                                    java.nio.ByteBuffer target,
                                    java.nio.IntBuffer offsets)
      • endLoop

        private void endLoop​(java.nio.CharBuffer source,
                             java.nio.ByteBuffer target,
                             java.nio.IntBuffer offsets)
      • outputBytes

        private int outputBytes​(java.nio.CharBuffer source,
                                java.nio.ByteBuffer target,
                                java.nio.IntBuffer offsets)