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

Int32

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

Attributes

Remarks

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