com.alibaba.fastjson.util
Class IOUtils
java.lang.Object
com.alibaba.fastjson.util.IOUtils
public class IOUtils
- extends Object
- Author:
- wenshao
IOUtils
public IOUtils()
close
public static void close(Closeable x)
stringSize
public static int stringSize(long x)
getChars
public static void getChars(long i,
int index,
char[] buf)
getChars
public static void getChars(int i,
int index,
char[] buf)
- Places characters representing the integer i into the character array buf. The characters are placed into the
buffer backwards starting with the least significant digit at the specified index (exclusive), and working
backwards from there. Will fail if i == Integer.MIN_VALUE
getChars
public static void getChars(byte b,
int index,
char[] buf)
decode
public static void decode(CharsetDecoder charsetDecoder,
ByteBuffer byteBuf,
CharBuffer charByte)
Copyright © 2012
Alibaba Group. All Rights Reserved.