Java.IO.RandomAccessFile.WriteUTF Method
Writes a string encoded with Java.IO.IDataInput to this file, starting at the current file pointer.

Syntax

[Android.Runtime.Register("writeUTF", "(Ljava/lang/String;)V", "")]
public void WriteUTF (string str)

See Also

RandomAccessFile.ReadUTF

Parameters

str
the string to write in Java.IO.IDataInput format.

Exceptions

TypeReason
Java.IO.IOExceptionif an I/O error occurs while writing to this file.
Java.IO.UTFDataFormatExceptionif the encoded string is longer than 65535 bytes.

Remarks

Writes a string encoded with Java.IO.IDataInput to this file, starting at the current file pointer.

[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