public final class C2BConverter extends Object
| Constructor and Description | 
|---|
| C2BConverter(String encoding) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | convert(CharChunk cc,
       ByteChunk bc)Convert the given characters to bytes. | 
| boolean | isUndeflow() | 
| void | recycle()Reset the encoder state. | 
public C2BConverter(String encoding) throws IOException
IOExceptionpublic void recycle()
public boolean isUndeflow()
public void convert(CharChunk cc, ByteChunk bc) throws IOException
cc - char inputbc - byte outputIOException - An encoding error occurredCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.