ObjectInputStream.ReadUnsignedShort ObjectInputStream.ReadUnsignedShort Method

Definition

Reads an unsigned short (16 bit) from the source stream.

[Android.Runtime.Register("readUnsignedShort", "()I", "GetReadUnsignedShortHandler")]
public virtual int ReadUnsignedShort ();
abstract member ReadUnsignedShort : unit -> int
override this.ReadUnsignedShort : unit -> int

Returns

Implements

Exceptions

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

if an error occurs while reading from the source stream.

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