ObjectInputStream.ReadUnsignedShort Method

Definition

Reads an unsigned 16 bit short.

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

Returns

the 16 bit short read.

Implements

Attributes

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

Reads an unsigned 16 bit short.

Java documentation for java.io.ObjectInputStream.readUnsignedShort().

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