public class SerialWriterStringEncoder extends Object
构造器和说明 |
---|
SerialWriterStringEncoder(Charset cs) |
SerialWriterStringEncoder(CharsetEncoder encoder) |
限定符和类型 | 方法和说明 |
---|---|
static void |
clearBytes() |
byte[] |
encode(char[] chars,
int off,
int len) |
byte[] |
encode(char[] chars,
int off,
int len,
byte[] bytes) |
static byte[] |
getBytes(int length) |
CharsetEncoder |
getEncoder() |
public SerialWriterStringEncoder(Charset cs)
public SerialWriterStringEncoder(CharsetEncoder encoder)
public byte[] encode(char[] chars, int off, int len)
public CharsetEncoder getEncoder()
public byte[] encode(char[] chars, int off, int len, byte[] bytes)
public static void clearBytes()
public static byte[] getBytes(int length)
Copyright © 2012–2016 Alibaba Group. All rights reserved.