Package oracle.sql
Class CharacterBuffer
java.lang.Object
oracle.sql.CharacterBuffer
This class allows the program to
construct an array of bytes in some representation
using the 32 bit values returned by a CharacterWalker.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CharacterBuffer
Constructor.- Parameters:
charSet- the CharacterSet in which the data is represented
-
-
Method Details
-
append
Append the (posibly multi-byte) representation of c.- Parameters:
c- a value in the 32 bit representation of characters of charSet.- Throws:
SQLException- if c is not a value in the 32 bit representation of charSet.
-
getBytes
public byte[] getBytes()The accumulated data- Returns:
- an array of bytes containing the representation of all characters that have been appended.
-