protected class PackedGSMCharset.Decoder extends EscapedByteLookupCharset.Decoder
| Modifier | Constructor and Description |
|---|---|
protected |
Decoder(Charset cs)
Constructs a Decoder.
|
| Modifier and Type | Method and Description |
|---|---|
protected CoderResult |
decodeLoop(ByteBuffer in,
CharBuffer out)
Decodes one or more bytes into one or more characters.
|
protected CoderResult |
implFlush(CharBuffer out)
Flushes this decoder.
|
protected void |
implReset()
Resets this decoder, clearing any charset-specific internal state.
|
protected CoderResult |
unpack(ByteBuffer in,
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, unmappableCharacterActionprotected Decoder(Charset cs)
cs - the charset to which this decoder belongsprotected void implReset()
implReset in class CharsetDecoderprotected CoderResult implFlush(CharBuffer out)
implFlush in class CharsetDecoderout - the output character bufferCoderResult.UNDERFLOW or
CoderResult.OVERFLOWprotected CoderResult decodeLoop(ByteBuffer in, CharBuffer out)
decodeLoop in class EscapedByteLookupCharset.Decoderin - the input byte bufferout - the output character bufferprotected CoderResult unpack(ByteBuffer in, ByteBuffer out)
in - the input byte bufferout - the output byte bufferCoderResult.UNDERFLOW or
CoderResult.OVERFLOWCopyright © 2015 freeutils.net. All rights reserved.