Uses of Class
java.nio.charset.CoderResult
| Package | Description |
|---|---|
| java.nio.charset |
-
Uses of CoderResult in java.nio.charset
Fields in java.nio.charset declared as CoderResult Modifier and Type Field Description static CoderResultCoderResult. OVERFLOWResult object used to indicate that the output buffer does not have enough space available to store the result of the encoding/decoding.static CoderResultCoderResult. UNDERFLOWResult object indicating that there is insufficient data in the encoding/decoding buffer or that additional data is required.Methods in java.nio.charset that return CoderResult Modifier and Type Method Description CoderResultCharsetDecoder. decode(ByteBuffer in, CharBuffer out, boolean endOfInput)Decodes bytes starting at the current position of the given input buffer, and writes the equivalent character sequence into the given output buffer from its current position.protected abstract CoderResultCharsetDecoder. decodeLoop(ByteBuffer in, CharBuffer out)Decodes bytes into characters.CoderResultCharsetEncoder. encode(CharBuffer in, ByteBuffer out, boolean endOfInput)Encodes characters starting at the current position of the given input buffer, and writes the equivalent byte sequence into the given output buffer from its current position.protected abstract CoderResultCharsetEncoder. encodeLoop(CharBuffer in, ByteBuffer out)Encodes characters into bytes.CoderResultCharsetDecoder. flush(CharBuffer out)Flushes this decoder.CoderResultCharsetEncoder. flush(ByteBuffer out)Flushes this encoder.protected CoderResultCharsetDecoder. implFlush(CharBuffer out)Flushes this decoder.protected CoderResultCharsetEncoder. implFlush(ByteBuffer out)Flushes this encoder.static CoderResultCoderResult. malformedForLength(int length)Gets aCoderResultobject indicating a malformed-input error.static CoderResultCoderResult. unmappableForLength(int length)Gets aCoderResultobject indicating an unmappable character error.