Java.IO.DataOutputStream.WriteByte Method
Writes an 8-bit byte to the target stream.

Syntax

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

See Also

DataInputStream.ReadByte
DataInputStream.ReadUnsignedByte

Parameters

val
the byte value to write to the target stream.

Exceptions

TypeReason
Java.IO.IOExceptionif an error occurs while writing to the target stream.

Remarks

Writes an 8-bit byte to the target stream. 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