Class TranscodeFunctions


  • public class TranscodeFunctions
    extends Object
    Created by headius on 3/4/14.
    • Field Detail

      • from_UTF_16BE_D8toDB_00toFF

        public static final int from_UTF_16BE_D8toDB_00toFF
      • from_UTF_16LE_00toFF_D8toDB

        public static final int from_UTF_16LE_00toFF_D8toDB
      • EMACS_MULE_LEADING_CODE_JISX0208_1978

        public static final int EMACS_MULE_LEADING_CODE_JISX0208_1978
        See Also:
        Constant Field Values
      • EMACS_MULE_LEADING_CODE_JISX0208_1983

        public static final int EMACS_MULE_LEADING_CODE_JISX0208_1983
        See Also:
        Constant Field Values
      • tbl0208

        public static final byte[] tbl0208
      • iso2022jp_decoder_jisx0208_rest

        public static final int iso2022jp_decoder_jisx0208_rest
      • iso2022jp_kddi_decoder_jisx0208_rest

        public static final int iso2022jp_kddi_decoder_jisx0208_rest
    • Constructor Detail

      • TranscodeFunctions

        public TranscodeFunctions()
    • Method Detail

      • funSoToUTF16

        public static int funSoToUTF16​(byte[] statep,
                                       byte[] sBytes,
                                       int sStart,
                                       int l,
                                       byte[] o,
                                       int oStart,
                                       int osize)
      • funSoToUTF16BE

        public static int funSoToUTF16BE​(byte[] statep,
                                         byte[] s,
                                         int sStart,
                                         int l,
                                         byte[] o,
                                         int oStart,
                                         int osize)
      • funSoToUTF16LE

        public static int funSoToUTF16LE​(byte[] statep,
                                         byte[] s,
                                         int sStart,
                                         int l,
                                         byte[] o,
                                         int oStart,
                                         int osize)
      • funSoToUTF32

        public static int funSoToUTF32​(byte[] statep,
                                       byte[] s,
                                       int sStart,
                                       int l,
                                       byte[] o,
                                       int oStart,
                                       int osize)
      • funSoToUTF32BE

        public static int funSoToUTF32BE​(byte[] statep,
                                         byte[] s,
                                         int sStart,
                                         int l,
                                         byte[] o,
                                         int oStart,
                                         int osize)
      • funSoToUTF32LE

        public static int funSoToUTF32LE​(byte[] statep,
                                         byte[] s,
                                         int sStart,
                                         int l,
                                         byte[] o,
                                         int oStart,
                                         int osize)
      • funSiFromUTF32

        public static int funSiFromUTF32​(byte[] statep,
                                         byte[] s,
                                         int sStart,
                                         int l)
      • funSoFromUTF32

        public static int funSoFromUTF32​(byte[] statep,
                                         byte[] s,
                                         int sStart,
                                         int l,
                                         byte[] o,
                                         int oStart,
                                         int osize)
      • funSoFromUTF32BE

        public static int funSoFromUTF32BE​(byte[] statep,
                                           byte[] s,
                                           int sStart,
                                           int l,
                                           byte[] o,
                                           int oStart,
                                           int osize)
      • funSoFromUTF32LE

        public static int funSoFromUTF32LE​(byte[] statep,
                                           byte[] s,
                                           int sStart,
                                           int l,
                                           byte[] o,
                                           int oStart,
                                           int osize)
      • funSiFromUTF16

        public static int funSiFromUTF16​(byte[] statep,
                                         byte[] s,
                                         int sStart,
                                         int l)
      • funSoFromUTF16

        public static int funSoFromUTF16​(byte[] statep,
                                         byte[] s,
                                         int sStart,
                                         int l,
                                         byte[] o,
                                         int oStart,
                                         int osize)
      • funSoFromUTF16BE

        public static int funSoFromUTF16BE​(byte[] statep,
                                           byte[] s,
                                           int sStart,
                                           int l,
                                           byte[] o,
                                           int oStart,
                                           int osize)
      • funSoFromUTF16LE

        public static int funSoFromUTF16LE​(byte[] statep,
                                           byte[] s,
                                           int sStart,
                                           int l,
                                           byte[] o,
                                           int oStart,
                                           int osize)
      • funSoEucjp2Sjis

        public static int funSoEucjp2Sjis​(byte[] statep,
                                          byte[] s,
                                          int sStart,
                                          int _l,
                                          byte[] o,
                                          int oStart,
                                          int osize)
      • funSoSjis2Eucjp

        public static int funSoSjis2Eucjp​(byte[] statep,
                                          byte[] s,
                                          int sStart,
                                          int _l,
                                          byte[] o,
                                          int oStart,
                                          int osize)
      • funSoFromGB18030

        public static int funSoFromGB18030​(byte[] statep,
                                           byte[] s,
                                           int sStart,
                                           int l,
                                           byte[] o,
                                           int oStart,
                                           int osize)
      • funSioFromGB18030

        public static int funSioFromGB18030​(byte[] statep,
                                            byte[] s,
                                            int sStart,
                                            int l,
                                            int info,
                                            byte[] o,
                                            int oStart,
                                            int osize)
      • funSoToGB18030

        public static int funSoToGB18030​(byte[] statep,
                                         byte[] s,
                                         int sStart,
                                         int l,
                                         byte[] o,
                                         int oStart,
                                         int osize)
      • funSioToGB18030

        public static int funSioToGB18030​(byte[] statep,
                                          byte[] s,
                                          int sStart,
                                          int l,
                                          int info,
                                          byte[] o,
                                          int oStart,
                                          int osize)
      • iso2022jpInit

        public static int iso2022jpInit​(byte[] state)
      • funSoCp50220Encoder

        public static int funSoCp50220Encoder​(byte[] statep,
                                              byte[] s,
                                              int sStart,
                                              int l,
                                              byte[] o,
                                              int oStart,
                                              int oSize)
      • funSoCp5022xEncoder

        public static int funSoCp5022xEncoder​(byte[] statep,
                                              byte[] s,
                                              int sStart,
                                              int l,
                                              byte[] o,
                                              int oStart,
                                              int oSize)
      • finishCp50220Encoder

        public static int finishCp50220Encoder​(byte[] statep,
                                               byte[] o,
                                               int oStart,
                                               int size)
      • iso2022jpEncoderResetSequenceSize

        public static int iso2022jpEncoderResetSequenceSize​(byte[] statep)
      • funSiIso50220jpDecoder

        public static int funSiIso50220jpDecoder​(byte[] statep,
                                                 byte[] s,
                                                 int sStart,
                                                 int l)
      • funSoIso2022jpDecoder

        public static int funSoIso2022jpDecoder​(byte[] statep,
                                                byte[] s,
                                                int sStart,
                                                int l,
                                                byte[] o,
                                                int oStart,
                                                int oSize)
      • funSoStatelessIso2022jpToEucjp

        public static int funSoStatelessIso2022jpToEucjp​(byte[] statep,
                                                         byte[] s,
                                                         int sStart,
                                                         int l,
                                                         byte[] o,
                                                         int oStart,
                                                         int oSize)
      • funSoEucjpToStatelessIso2022jp

        public static int funSoEucjpToStatelessIso2022jp​(byte[] statep,
                                                         byte[] s,
                                                         int sStart,
                                                         int l,
                                                         byte[] o,
                                                         int oStart,
                                                         int oSize)
      • funSoIso2022jpEncoder

        public static int funSoIso2022jpEncoder​(byte[] statep,
                                                byte[] s,
                                                int sStart,
                                                int l,
                                                byte[] o,
                                                int oStart,
                                                int oSize)
      • finishIso2022jpEncoder

        public static int finishIso2022jpEncoder​(byte[] statep,
                                                 byte[] o,
                                                 int oStart,
                                                 int oSize)
      • funSiCp50221Decoder

        public static int funSiCp50221Decoder​(byte[] statep,
                                              byte[] s,
                                              int sStart,
                                              int l)
      • funSoCp50221Decoder

        public static int funSoCp50221Decoder​(byte[] statep,
                                              byte[] s,
                                              int sStart,
                                              int l,
                                              byte[] o,
                                              int oStart,
                                              int oSize)
      • iso2022jpKddiInit

        public static int iso2022jpKddiInit​(byte[] statep)
      • funSiIso2022jpKddiDecoder

        public static int funSiIso2022jpKddiDecoder​(byte[] statep,
                                                    byte[] s,
                                                    int sStart,
                                                    int l)
      • funSoIso2022jpKddiDecoder

        public static int funSoIso2022jpKddiDecoder​(byte[] statep,
                                                    byte[] s,
                                                    int sStart,
                                                    int l,
                                                    byte[] o,
                                                    int oStart,
                                                    int oSize)
      • funSoIso2022jpKddiEncoder

        public static int funSoIso2022jpKddiEncoder​(byte[] statep,
                                                    byte[] s,
                                                    int sStart,
                                                    int l,
                                                    byte[] o,
                                                    int oStart,
                                                    int oSize)
      • finishIso2022jpKddiEncoder

        public static int finishIso2022jpKddiEncoder​(byte[] statep,
                                                     byte[] o,
                                                     int oStart,
                                                     int oSize)
      • iso2022jpKddiEncoderResetSequence_size

        public static int iso2022jpKddiEncoderResetSequence_size​(byte[] statep)
      • fromUtf8MacInit

        public static int fromUtf8MacInit​(byte[] state)
      • funSoFromUtf8Mac

        public static int funSoFromUtf8Mac​(byte[] statep,
                                           byte[] s,
                                           int sStart,
                                           int l,
                                           byte[] o,
                                           int oStart,
                                           int oSize)
      • UTF8MAC_BL_MIN_BYTE

        public static int UTF8MAC_BL_MIN_BYTE​(int nextInfo)
      • UTF8MAC_BL_MAX_BYTE

        public static int UTF8MAC_BL_MAX_BYTE​(int nextInfo)
      • UTF8MAC_BL_OFFSET

        public static int UTF8MAC_BL_OFFSET​(int nextInfo,
                                            int b)
      • UTF8MAC_BL_ACTION

        public static int UTF8MAC_BL_ACTION​(int nextInfo,
                                            byte b)
      • fromUtf8MacFinish

        public static int fromUtf8MacFinish​(byte[] statep,
                                            byte[] o,
                                            int oStart,
                                            int oSize)
      • escapeXmlAttrQuoteInit

        public static int escapeXmlAttrQuoteInit​(byte[] statep)
      • funSoEscapeXmlAttrQuote

        public static int funSoEscapeXmlAttrQuote​(byte[] statep,
                                                  byte[] s,
                                                  int sStart,
                                                  int l,
                                                  byte[] o,
                                                  int oStart,
                                                  int oSize)
      • escapeXmlAttrQuoteFinish

        public static int escapeXmlAttrQuoteFinish​(byte[] statep,
                                                   byte[] o,
                                                   int oStart,
                                                   int oSize)
      • universalNewlineInit

        public static int universalNewlineInit​(byte[] statep)
      • funSoUniversalNewline

        public static int funSoUniversalNewline​(byte[] statep,
                                                byte[] s,
                                                int sStart,
                                                int l,
                                                byte[] o,
                                                int oStart,
                                                int oSize)
      • universalNewlineFinish

        public static int universalNewlineFinish​(byte[] statep,
                                                 byte[] o,
                                                 int oStart,
                                                 int oSize)