| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private CoderResult | |
| protected CoderResult | encodeLoop(CharBuffer
The input character buffer in, ByteBuffer The output byte buffer out)Implements abstract java. Encodes one or more characters into one or more bytes. |
| private CoderResult |
| Utf8Encoder | back to summary |
|---|---|
| public Utf8Encoder() | |
| encodeHasArray | back to summary |
|---|---|
| private CoderResult encodeHasArray(CharBuffer in, ByteBuffer out) | |
| encodeLoop | back to summary |
|---|---|
| protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) Implements abstract java. Doc from java. Encodes one or more characters into one or more bytes. This method encapsulates the basic encoding loop, encoding as many
characters as possible until it either runs out of input, runs out of room
in the output buffer, or encounters an encoding error. This method is
invoked by the The buffers are read from, and written to, starting at their current
positions. At most This method returns a An implementation of this method may perform arbitrary lookahead by
returning
| |
| encodeNotHasArray | back to summary |
|---|---|
| private CoderResult encodeNotHasArray(CharBuffer in, ByteBuffer out) | |