Java.IO.RandomAccessFile.WriteShort Method
Writes a big-endian 16-bit short to this file, starting at the current file pointer.

Syntax

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

See Also

RandomAccessFile.ReadShort
IDataInput.ReadUnsignedShort

Parameters

val
the short to write to this file.

Exceptions

TypeReason
Java.IO.IOExceptionif an I/O error occurs while writing to this file.

Remarks

Writes a big-endian 16-bit short to this file, starting at the current file pointer. Only the two least significant bytes of the integer 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