IDataInput.ReadUnsignedShort IDataInput.ReadUnsignedShort Method

Definition

Reads a big-endian 16-bit unsigned short value and returns it as an int.

[Android.Runtime.Register("readUnsignedShort", "()I", "GetReadUnsignedShortHandler:Java.IO.IDataInputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int ReadUnsignedShort ();
abstract member ReadUnsignedShort : unit -> int

Returns

Exceptions

if the end of the input is reached before the read request can be satisfied.

if an I/O error occurs while reading.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also