Java.IO.RandomAccessFile.ReadInt Method
Reads a big-endian 32-bit integer from the current position in this file.

Syntax

[Android.Runtime.Register("readInt", "()I", "")]
public int ReadInt ()

See Also

RandomAccessFile.WriteInt(int)

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.EOFExceptionif the end of this file is detected.
Java.IO.IOExceptionif this file is closed or another I/O error occurs.

Remarks

Reads a big-endian 32-bit integer from the current position in this file. Blocks until four bytes have been read, the end of the file is reached or an exception is thrown.

[Android Documentation]

Requirements

Namespace: Java.IO
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1