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