Sdílet prostřednictvím


CharsetDecoder.ImplFlush(CharBuffer) Method

Definition

Flushes this decoder.

[Android.Runtime.Register("implFlush", "(Ljava/nio/CharBuffer;)Ljava/nio/charset/CoderResult;", "GetImplFlush_Ljava_nio_CharBuffer_Handler")]
protected virtual Java.Nio.Charset.CoderResult? ImplFlush (Java.Nio.CharBuffer? out);
[<Android.Runtime.Register("implFlush", "(Ljava/nio/CharBuffer;)Ljava/nio/charset/CoderResult;", "GetImplFlush_Ljava_nio_CharBuffer_Handler")>]
abstract member ImplFlush : Java.Nio.CharBuffer -> Java.Nio.Charset.CoderResult
override this.ImplFlush : Java.Nio.CharBuffer -> Java.Nio.Charset.CoderResult

Parameters

out
CharBuffer

The output character buffer

Returns

A coder-result object, either CoderResult#UNDERFLOW or CoderResult#OVERFLOW

Attributes

Remarks

Flushes this decoder.

The default implementation of this method does nothing, and always returns CoderResult#UNDERFLOW. This method should be overridden by decoders that may need to write final characters to the output buffer once the entire input sequence has been read.

Java documentation for java.nio.charset.CharsetDecoder.implFlush(java.nio.CharBuffer).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to