Java.IO.RandomAccessFile.WriteFloat Method
Writes a big-endian 32-bit float to this file, starting at the current file pointer.

Syntax

[Android.Runtime.Register("writeFloat", "(F)V", "")]
public void WriteFloat (float val)

See Also

RandomAccessFile.ReadFloat

Parameters

val
the float 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 32-bit float to this file, starting at the current file pointer. The bytes are those returned by Java.Lang.Float.FloatToIntBits(float), meaning a canonical NaN is used.

[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