public class B2CConverter extends Object
Modifier | Constructor and Description |
---|---|
protected |
B2CConverter() |
|
B2CConverter(String encoding)
Create a converter, with bytes going to a byte buffer
|
Modifier and Type | Method and Description |
---|---|
void |
convert(ByteChunk bb,
CharChunk cb)
Convert a buffer of bytes into a chars
|
void |
convert(ByteChunk bb,
CharChunk cb,
int limit) |
static void |
convertASCII(MessageBytes mb)
Character conversion of a US-ASCII MessageBytes.
|
protected void |
init(String encoding) |
void |
recycle()
Reset the internal state, empty the buffers.
|
void |
reset() |
protected B2CConverter()
public B2CConverter(String encoding) throws IOException
IOException
protected void init(String encoding)
public void recycle()
public void convert(ByteChunk bb, CharChunk cb) throws IOException
IOException
public void convert(ByteChunk bb, CharChunk cb, int limit) throws IOException
IOException
public static void convertASCII(MessageBytes mb)
public void reset() throws IOException
IOException
Copyright © 2014 Oracle Corporation. All rights reserved.