Share via


ObjectInputStream.ReadShort Method

Definition

Reads a 16 bit short.

[Android.Runtime.Register("readShort", "()S", "GetReadShortHandler")]
public virtual short ReadShort ();
[<Android.Runtime.Register("readShort", "()S", "GetReadShortHandler")>]
abstract member ReadShort : unit -> int16
override this.ReadShort : unit -> int16

Returns

the 16 bit short read.

Implements

Attributes

Exceptions

if an error occurs while reading from the source stream.

Remarks

Reads a 16 bit short.

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

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