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

Syntax

[Android.Runtime.Register("readShort", "()S", "")]
public short ReadShort ()

See Also

RandomAccessFile.WriteShort(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 short 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