Package com.alibaba.fastjson.util
Class IOUtils
java.lang.Object
com.alibaba.fastjson.util.IOUtils
- Author:
- wenshao[szujobs@hotmail.com]
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final char[]static final char[]static final boolean[]static final boolean[]static final char[]static final byte[]static final boolean[]static final byte[]static final boolean[]static final Charset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voiddecode(CharsetDecoder charsetDecoder, ByteBuffer byteBuf, CharBuffer charByte) static byte[]static intdecodeUTF8(byte[] sa, int sp, int len, char[] da) static voidgetChars(byte b, int index, char[] buf) static voidgetChars(int i, int index, char[] buf) static voidgetChars(long i, int index, char[] buf) static intstringSize(int x) static intstringSize(long x)
-
Field Details
-
UTF8
-
DIGITS
public static final char[] DIGITS -
firstIdentifierFlags
public static final boolean[] firstIdentifierFlags -
identifierFlags
public static final boolean[] identifierFlags -
specicalFlags_doubleQuotes
public static final byte[] specicalFlags_doubleQuotes -
specicalFlags_singleQuotes
public static final byte[] specicalFlags_singleQuotes -
specicalFlags_doubleQuotesFlags
public static final boolean[] specicalFlags_doubleQuotesFlags -
specicalFlags_singleQuotesFlags
public static final boolean[] specicalFlags_singleQuotesFlags -
replaceChars
public static final char[] replaceChars -
CA
public static final char[] CA
-
-
Constructor Details
-
IOUtils
public IOUtils()
-
-
Method Details
-
decode
-
decodeBase64
-
close
-
getChars
public static void getChars(byte b, int index, char[] buf) -
getChars
public static void getChars(int i, int index, char[] buf) -
getChars
public static void getChars(long i, int index, char[] buf) -
stringSize
public static int stringSize(int x) -
stringSize
public static int stringSize(long x) -
decodeUTF8
public static int decodeUTF8(byte[] sa, int sp, int len, char[] da)
-