- encode
Encodes characters starting at the current position of the given input buffer,
and writes the equiva
- onUnmappableCharacter
Sets this encoder's action on unmappable character error. This method will call
the #implOnUnmappabl
- canEncode
Tests whether the given CharSequence can be encoded by this encoder.Note that
this method may change
- onMalformedInput
Sets this encoder's action on malformed input error. This method will call the
#implOnMalformedInput
- reset
Resets this encoder. This method will reset the internal state and then calls
#implReset to reset an
- flush
Flushes this encoder. This method will call #implFlush(ByteBuffer). Some
encoders may need to write
- maxBytesPerChar
Returns the maximum number of bytes which can be created by this encoder for one
input character, mu
- charset
Returns the Charset which this encoder uses.
- averageBytesPerChar
Returns the average number of bytes created by this encoder for a single input
character.
- replaceWith
Sets the new replacement value. This method first checks the given replacement's
validity, then chan
- isLegalReplacement
Tests whether the given argument is legal as this encoder's replacement byte
array. The given byte a
- implFlush
Flushes this encoder. The default implementation does nothing and always returns
CoderResult.UNDERF