Share via


DataOutputStream.Size Method

Definition

Returns the current value of the counter written, the number of bytes written to this data output stream so far.

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

Returns

the value of the written field.

Attributes

Remarks

Returns the current value of the counter written, the number of bytes written to this data output stream so far. If the counter overflows, it will be wrapped to Integer.MAX_VALUE.

Java documentation for java.io.DataOutputStream.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