IOUtils (fastjson 1.1.26 API)

fastjson



com.alibaba.fastjson.util Class IOUtils

java.lang.Object
  extended by com.alibaba.fastjson.util.IOUtils

public class IOUtils
extends Object

Author:
wenshao

Constructor Summary
 
Method Summary
static void
static void
static void
static void
static void
static int
 
Methods inherited from class java.lang.Object
 

Constructor Detail

IOUtils

public IOUtils()
Method Detail

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.