Java.IO.RandomAccessFile.WriteByte Method
Writes an 8-bit byte to this file, starting at the current file pointer.

Syntax

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

See Also

RandomAccessFile.ReadByte
RandomAccessFile.ReadUnsignedByte

Parameters

val
the byte to write to this file.

Exceptions

TypeReason
Java.IO.IOExceptionif this file is closed or another I/O error occurs.

Remarks

Writes an 8-bit byte to this file, starting at the current file pointer. Only the least significant byte of the integer val is 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