- java.lang.Object
-
- org.jcodings.transcode.TranscodeFunctions
-
public class TranscodeFunctions extends Object
Created by headius on 3/4/14.
-
-
Field Summary
Fields Modifier and Type Field Description static intBEstatic intEMACS_MULE_LEADING_CODE_JISX0208_1978static intEMACS_MULE_LEADING_CODE_JISX0208_1983static intfrom_UTF_16BE_D8toDB_00toFFstatic intfrom_UTF_16LE_00toFF_D8toDBstatic byteG0_ASCIIstatic byteG0_JISX0201_KATAKANAstatic byteG0_JISX0208_1978static byteG0_JISX0208_1983static intiso2022jp_decoder_jisx0208_reststatic intiso2022jp_kddi_decoder_jisx0208_reststatic intLEstatic byte[]tbl0208
-
Constructor Summary
Constructors Constructor Description TranscodeFunctions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intescapeXmlAttrQuoteFinish(byte[] statep, byte[] o, int oStart, int oSize)static intescapeXmlAttrQuoteInit(byte[] statep)static intfinishCp50220Encoder(byte[] statep, byte[] o, int oStart, int size)static intfinishIso2022jpEncoder(byte[] statep, byte[] o, int oStart, int oSize)static intfinishIso2022jpKddiEncoder(byte[] statep, byte[] o, int oStart, int oSize)static intfromUtf8MacFinish(byte[] statep, byte[] o, int oStart, int oSize)static intfromUtf8MacInit(byte[] state)static intfunSiCp50221Decoder(byte[] statep, byte[] s, int sStart, int l)static intfunSiFromUTF16(byte[] statep, byte[] s, int sStart, int l)static intfunSiFromUTF32(byte[] statep, byte[] s, int sStart, int l)static intfunSiIso2022jpKddiDecoder(byte[] statep, byte[] s, int sStart, int l)static intfunSiIso50220jpDecoder(byte[] statep, byte[] s, int sStart, int l)static intfunSioFromGB18030(byte[] statep, byte[] s, int sStart, int l, int info, byte[] o, int oStart, int osize)static intfunSioToGB18030(byte[] statep, byte[] s, int sStart, int l, int info, byte[] o, int oStart, int osize)static intfunSoCp50220Encoder(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int oSize)static intfunSoCp50221Decoder(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int oSize)static intfunSoCp5022xEncoder(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int oSize)static intfunSoEscapeXmlAttrQuote(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int oSize)static intfunSoEucjp2Sjis(byte[] statep, byte[] s, int sStart, int _l, byte[] o, int oStart, int osize)static intfunSoEucjpToStatelessIso2022jp(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int oSize)static intfunSoFromGB18030(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int osize)static intfunSoFromUTF16(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int osize)static intfunSoFromUTF16BE(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int osize)static intfunSoFromUTF16LE(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int osize)static intfunSoFromUTF32(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int osize)static intfunSoFromUTF32BE(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int osize)static intfunSoFromUTF32LE(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int osize)static intfunSoFromUtf8Mac(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int oSize)static intfunSoIso2022jpDecoder(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int oSize)static intfunSoIso2022jpEncoder(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int oSize)static intfunSoIso2022jpKddiDecoder(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int oSize)static intfunSoIso2022jpKddiEncoder(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int oSize)static intfunSoSjis2Eucjp(byte[] statep, byte[] s, int sStart, int _l, byte[] o, int oStart, int osize)static intfunSoStatelessIso2022jpToEucjp(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int oSize)static intfunSoToGB18030(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int osize)static intfunSoToUTF16(byte[] statep, byte[] sBytes, int sStart, int l, byte[] o, int oStart, int osize)static intfunSoToUTF16BE(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int osize)static intfunSoToUTF16LE(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int osize)static intfunSoToUTF32(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int osize)static intfunSoToUTF32BE(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int osize)static intfunSoToUTF32LE(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int osize)static intfunSoUniversalNewline(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int oSize)static intiso2022jpEncoderResetSequenceSize(byte[] statep)static intiso2022jpInit(byte[] state)static intiso2022jpKddiEncoderResetSequence_size(byte[] statep)static intiso2022jpKddiInit(byte[] statep)static intuniversalNewlineFinish(byte[] statep, byte[] o, int oStart, int oSize)static intuniversalNewlineInit(byte[] statep)static intUTF8MAC_BL_ACTION(int nextInfo, byte b)static intUTF8MAC_BL_MAX_BYTE(int nextInfo)static intUTF8MAC_BL_MIN_BYTE(int nextInfo)static intUTF8MAC_BL_OFFSET(int nextInfo, int b)
-
-
-
Field Detail
-
BE
public static final int BE
- See Also:
- Constant Field Values
-
LE
public static final int LE
- See Also:
- Constant Field Values
-
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
-
G0_ASCII
public static final byte G0_ASCII
- See Also:
- Constant Field Values
-
G0_JISX0208_1978
public static final byte G0_JISX0208_1978
- See Also:
- Constant Field Values
-
G0_JISX0208_1983
public static final byte G0_JISX0208_1983
- See Also:
- Constant Field Values
-
G0_JISX0201_KATAKANA
public static final byte G0_JISX0201_KATAKANA
- See Also:
- Constant Field Values
-
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
-
-
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)
-
-