Share via


Buffer.Capacity Method

Definition

Returns this buffer's capacity.

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

Returns

The capacity of this buffer

Attributes

Remarks

Returns this buffer's capacity.

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

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