Share via


ByteArrayOutputStream.Size Method

Definition

Returns the current size of the buffer.

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

Returns

the value of the count field, which is the number of valid bytes in this output stream.

Attributes

Remarks

Returns the current size of the buffer.

Java documentation for java.io.ByteArrayOutputStream.size().

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