com.alibaba.fastjson.serializer
Class SerialWriterStringEncoder

java.lang.Object
  extended by com.alibaba.fastjson.serializer.SerialWriterStringEncoder

public class SerialWriterStringEncoder
extends Object


Constructor Summary
SerialWriterStringEncoder(Charset cs)
           
SerialWriterStringEncoder(CharsetEncoder encoder)
           
 
Method Summary
 byte[] encode(char[] chars, int off, int len)
           
 byte[] encode(char[] chars, int off, int len, byte[] bytes)
           
 CharsetEncoder getEncoder()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerialWriterStringEncoder

public SerialWriterStringEncoder(Charset cs)

SerialWriterStringEncoder

public SerialWriterStringEncoder(CharsetEncoder encoder)
Method Detail

encode

public byte[] encode(char[] chars,
                     int off,
                     int len)

getEncoder

public CharsetEncoder getEncoder()

encode

public byte[] encode(char[] chars,
                     int off,
                     int len,
                     byte[] bytes)


Copyright © 2012 Alibaba Group. All Rights Reserved.