CoderResult.UnmappableForLength(Int32) Method

Definition

Static factory method that returns the unique result object describing an unmappable-character error of the given length.

[Android.Runtime.Register("unmappableForLength", "(I)Ljava/nio/charset/CoderResult;", "")]
public static Java.Nio.Charset.CoderResult? UnmappableForLength (int length);
[<Android.Runtime.Register("unmappableForLength", "(I)Ljava/nio/charset/CoderResult;", "")>]
static member UnmappableForLength : int -> Java.Nio.Charset.CoderResult

Parameters

length
Int32

The given length

Returns

The requested coder-result object

Attributes

Exceptions

if length is non-positive.

Remarks

Static factory method that returns the unique result object describing an unmappable-character error of the given length.

Java documentation for java.nio.charset.CoderResult.unmappableForLength(int).

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