DataOutputStream.WriteShort(Int32) Method

Definition

Writes a <code>short</code> to the underlying output stream as two bytes, high byte first.

[Android.Runtime.Register("writeShort", "(I)V", "")]
public void WriteShort (int v);
[<Android.Runtime.Register("writeShort", "(I)V", "")>]
abstract member WriteShort : int -> unit
override this.WriteShort : int -> unit

Parameters

v
Int32

a <code>short</code> to be written.

Implements

Attributes

Exceptions

Remarks

Java documentation for java.io.DataOutputStream.writeShort(int).

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