Sdílet prostřednictvím


ObjectInputStream.ReadInt Method

Definition

Reads a 32 bit int.

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

Returns

the 32 bit integer read.

Implements

Attributes

Exceptions

if the end of the input is reached before the read request can be satisfied.

if an error occurs while reading from the source stream.

Remarks

Reads a 32 bit int.

Java documentation for java.io.ObjectInputStream.readInt().

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