com.alibaba.fastjson.util
Class UTF8Decoder

java.lang.Object
  extended by java.nio.charset.CharsetDecoder
      extended by com.alibaba.fastjson.util.UTF8Decoder

public class UTF8Decoder
extends CharsetDecoder


Constructor Summary
UTF8Decoder()
           
 
Method Summary
protected  CoderResult decodeLoop(ByteBuffer src, CharBuffer dst)
           
static CoderResult malformedN(ByteBuffer src, int nb)
           
 
Methods inherited from class java.nio.charset.CharsetDecoder
averageCharsPerByte, charset, decode, decode, detectedCharset, flush, implFlush, implOnMalformedInput, implOnUnmappableCharacter, implReplaceWith, implReset, isAutoDetecting, isCharsetDetected, malformedInputAction, maxCharsPerByte, onMalformedInput, onUnmappableCharacter, replacement, replaceWith, reset, unmappableCharacterAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UTF8Decoder

public UTF8Decoder()
Method Detail

malformedN

public static CoderResult malformedN(ByteBuffer src,
                                     int nb)

decodeLoop

protected CoderResult decodeLoop(ByteBuffer src,
                                 CharBuffer dst)
Specified by:
decodeLoop in class CharsetDecoder


Copyright © 2012 Alibaba Group. All Rights Reserved.