public static interface CharsetCallback.Encoder
Modifier and Type | Method and Description |
---|---|
CoderResult |
call(CharsetEncoderICU encoder,
Object context,
CharBuffer source,
ByteBuffer target,
IntBuffer offsets,
char[] buffer,
int length,
int cp,
CoderResult cr)
This function is called when the Unicode characters in the source cannot be handled,
and this function is meant to handle or fix the error if possible.
|
CoderResult call(CharsetEncoderICU encoder, Object context, CharBuffer source, ByteBuffer target, IntBuffer offsets, char[] buffer, int length, int cp, CoderResult cr)
Copyright © 2016 Unicode, Inc. and others.