CoderResult.MalformedForLength(Int32) Method

Definition

Static factory method that returns the unique object describing a malformed-input error of the given length.

[Android.Runtime.Register("malformedForLength", "(I)Ljava/nio/charset/CoderResult;", "")]
public static Java.Nio.Charset.CoderResult? MalformedForLength (int length);
[<Android.Runtime.Register("malformedForLength", "(I)Ljava/nio/charset/CoderResult;", "")>]
static member MalformedForLength : 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 object describing a malformed-input error of the given length.

Java documentation for java.nio.charset.CoderResult.malformedForLength(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