Bagikan melalui


CoderResult.Length Method

Definition

Returns the length of the erroneous input described by this object  (optional operation).

[Android.Runtime.Register("length", "()I", "GetLengthHandler")]
public virtual int Length ();
[<Android.Runtime.Register("length", "()I", "GetLengthHandler")>]
abstract member Length : unit -> int
override this.Length : unit -> int

Returns

The length of the erroneous input, a positive integer

Attributes

Exceptions

if this result is an overflow or underflow.

Remarks

Returns the length of the erroneous input described by this object&nbsp;&nbsp;(optional operation).

Java documentation for java.nio.charset.CoderResult.length().

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