Udostępnij za pośrednictwem


ObjectOutputStream.WriteInt(Int32) Method

Definition

Writes a 32 bit int.

[Android.Runtime.Register("writeInt", "(I)V", "GetWriteInt_IHandler")]
public virtual void WriteInt (int val);
[<Android.Runtime.Register("writeInt", "(I)V", "GetWriteInt_IHandler")>]
abstract member WriteInt : int -> unit
override this.WriteInt : int -> unit

Parameters

val
Int32

the integer value to be written

Implements

Attributes

Exceptions

if an error occurs while writing to the target stream.

Remarks

Writes a 32 bit int.

Java documentation for java.io.ObjectOutputStream.writeInt(int).

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