Java.IO.RandomAccessFile.Read Method
Reads a single byte from the current position in this file and returns it as an integer in the range from 0 to 255.

Syntax

[Android.Runtime.Register("read", "()I", "GetReadHandler")]
public virtual int Read ()

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOExceptionif this file is closed or another I/O error occurs.

Remarks

Reads a single byte from the current position in this file and returns it as an integer in the range from 0 to 255. Returns -1 if the end of the file has been reached. Blocks until one byte has been read, the end of the file is detected, 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