Java.IO.ObjectOutputStream.WriteBytes Method
Writes the string value as a sequence of bytes to the target stream.

Syntax

[Android.Runtime.Register("writeBytes", "(Ljava/lang/String;)V", "GetWriteBytes_Ljava_lang_String_Handler")]
public virtual void WriteBytes (string value)

Parameters

value
the string to write to the target stream.

Exceptions

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

Remarks

Writes the string value as a sequence of bytes to the target stream. Only the least significant byte of each character in the string 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