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

Syntax

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

See Also

RandomAccessFile.ReadChar

Parameters

val
the char 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 character to this file, starting at the current file pointer. Only the two least significant bytes of the integer val are written, with the high byte first.

[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