Java.IO.RandomAccessFile.ReadChar Method
Reads a big-endian 16-bit character from the current position in this file.

Syntax

[Android.Runtime.Register("readChar", "()C", "")]
public char ReadChar ()

See Also

RandomAccessFile.WriteChar(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 16-bit character from the current position in this file. Blocks until two 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