protected class PackedGSMCharset.Decoder extends EscapedByteLookupCharset.Decoder
Modifier | Constructor and Description |
---|---|
protected |
Decoder(java.nio.charset.Charset cs)
Constructs a Decoder.
|
Modifier and Type | Method and Description |
---|---|
protected java.nio.charset.CoderResult |
decodeLoop(java.nio.ByteBuffer in,
java.nio.CharBuffer out)
Decodes one or more bytes into one or more characters.
|
protected java.nio.charset.CoderResult |
implFlush(java.nio.CharBuffer out)
Flushes this decoder.
|
protected void |
implReset()
Resets this decoder, clearing any charset-specific internal state.
|
protected java.nio.charset.CoderResult |
unpack(java.nio.ByteBuffer in,
java.nio.ByteBuffer out)
Unpacks the given data into original bytes.
|
averageCharsPerByte, charset, decode, decode, detectedCharset, flush, implOnMalformedInput, implOnUnmappableCharacter, implReplaceWith, isAutoDetecting, isCharsetDetected, malformedInputAction, maxCharsPerByte, onMalformedInput, onUnmappableCharacter, replacement, replaceWith, reset, unmappableCharacterAction
protected Decoder(java.nio.charset.Charset cs)
cs
- the charset to which this decoder belongsprotected void implReset()
implReset
in class java.nio.charset.CharsetDecoder
protected java.nio.charset.CoderResult implFlush(java.nio.CharBuffer out)
implFlush
in class java.nio.charset.CharsetDecoder
out
- The output character bufferCoderResult.UNDERFLOW
or
CoderResult.OVERFLOW
protected java.nio.charset.CoderResult decodeLoop(java.nio.ByteBuffer in, java.nio.CharBuffer out)
decodeLoop
in class EscapedByteLookupCharset.Decoder
in
- the input byte bufferout
- the output character bufferprotected java.nio.charset.CoderResult unpack(java.nio.ByteBuffer in, java.nio.ByteBuffer out)
in
- the input byte bufferout
- the output byte bufferCoderResult.UNDERFLOW
or
CoderResult.OVERFLOW