共用方式為


Buffer.Remaining Method

Definition

Returns the number of elements between the current position and the limit.

[Android.Runtime.Register("remaining", "()I", "")]
public int Remaining ();
[<Android.Runtime.Register("remaining", "()I", "")>]
member this.Remaining : unit -> int

Returns

The number of elements remaining in this buffer

Attributes

Remarks

Returns the number of elements between the current position and the limit.

Java documentation for java.nio.Buffer.remaining().

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