Java.IO.DataOutputStream.WriteShort Method
Writes the specified 16-bit short in big-endian order.

Syntax

[Android.Runtime.Register("writeShort", "(I)V", "")]
public void WriteShort (int val)

Parameters

val
the short to write.

Exceptions

TypeReason
Java.IO.IOException

Remarks

Writes the specified 16-bit short in big-endian order. Only the lower two bytes of val are written.

[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