| java.lang.Object | ||
| ↳ | sun.io.CharToByteConverter | |
| ↳ | sun.io.CharToByteDBCS_ASCII | |
Known Direct Subclasses
|
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| index1 | |||||||||||
| index2 | |||||||||||
| index2a | |||||||||||
| mask1 | |||||||||||
| mask2 | |||||||||||
| shift | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
sun.io.CharToByteConverter
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns true if the given character can be converted to the
target character encoding.
| |||||||||||
Character conversion
| |||||||||||
flush out any residual data and reset the buffer state
| |||||||||||
Returns the maximum number of bytes needed to convert a char.
| |||||||||||
Resets converter to its initial state.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
sun.io.CharToByteConverter
| |||||||||||
From class
java.lang.Object
| |||||||||||
Returns true if the given character can be converted to the target character encoding.
| ch | character to test |
|---|
Character conversion
| input | array containing Unicode characters to be converted. |
|---|---|
| inOff | begin conversion at this offset in input array. |
| inEnd | stop conversion at this offset in input array (exclusive). |
| output | byte array to receive conversion result. |
| outOff | start writing to output array at this offset. |
| outEnd | stop writing to output array at this offset (exclusive). |
flush out any residual data and reset the buffer state
| output | byte array to receive flushed output. |
|---|---|
| outStart | start writing to output array at this offset. |
| outEnd | stop writing to output array at this offset (exclusive). |
Returns the maximum number of bytes needed to convert a char.
Resets converter to its initial state.