Java.IO.RandomAccessFile.ReadUnsignedShort Method
Reads an unsigned big-endian 16-bit short from the current position in this file and returns it as an integer.

Syntax

[Android.Runtime.Register("readUnsignedShort", "()I", "")]
public int ReadUnsignedShort ()

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 an unsigned big-endian 16-bit short from the current position in this file and returns it as an integer. 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