Java.IO.RandomAccessFile.ReadByte Method
Reads an 8-bit byte from the current position in this file.

Syntax

[Android.Runtime.Register("readByte", "()B", "")]
public sbyte ReadByte ()

See Also

RandomAccessFile.WriteBoolean(bool)

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 an 8-bit byte from the current position in this file. Blocks until one byte has 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