public final class CharacterBuffer extends Object
CharacterWalker, CharacterSet| Constructor and Description |
|---|
CharacterBuffer(CharacterSet charSet)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
append(int c)
Append the (posibly multi-byte) representation of c.
|
byte[] |
getBytes()
The accumulated data
|
public CharacterBuffer(CharacterSet charSet)
charSet - the CharacterSet in which the data is representedpublic void append(int c)
throws SQLException
c - a value in the 32 bit representation of characters of charSet.SQLException - if c is not a value in the 32 bit representation of charSet.public byte[] getBytes()