public final class UTF8Decoder extends B2CConverter
bb, cb, decoder, leftovers
Constructor and Description |
---|
UTF8Decoder() |
Modifier and Type | Method and Description |
---|---|
void |
convert(ByteChunk mb,
CharChunk cb)
Convert the given bytes to characters.
|
void |
recycle()
Reset the decoder state, and empty the leftover buffer.
|
isUndeflow
public UTF8Decoder() throws IOException
IOException
public void recycle()
B2CConverter
recycle
in class B2CConverter
public void convert(ByteChunk mb, CharChunk cb) throws IOException
B2CConverter
convert
in class B2CConverter
mb
- byte inputcb
- char outputIOException
Copyright © 2014 JBoss by Red Hat. All rights reserved.