java.lang.Object
org.glassfish.grizzly.http.util.B2CConverter
Efficient conversion of bytes to character .
Now uses NIO directly
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedB2CConverter(String encoding) Create a converter, with bytes going to a byte buffer -
Method Summary
-
Constructor Details
-
B2CConverter
protected B2CConverter() -
B2CConverter
Create a converter, with bytes going to a byte buffer- Throws:
IOException
-
-
Method Details
-
init
-
recycle
public void recycle()Reset the internal state, empty the buffers. The encoding remain in effect, the internal buffers remain allocated. -
convert
Convert a buffer of bytes into a chars- Throws:
IOException
-
convert
- Throws:
IOException
-
convertASCII
Character conversion of a US-ASCII MessageBytes. -
reset
- Throws:
IOException
-