Java.IO.IDataOutput.WriteFloat Method
Writes the specified 32-bit float in big-endian order.

Syntax

[Android.Runtime.Register("writeFloat", "(F)V", "GetWriteFloat_FHandler:Java.IO.IDataOutputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void WriteFloat (float val)

See Also

IDataInput.ReadFloat

Parameters

val
the float to write.

Exceptions

TypeReason
Java.IO.IOExceptionif an I/O error occurs while writing.

Remarks

Writes the specified 32-bit float in big-endian order. The resulting output is the four bytes returned by Java.Lang.Float.FloatToIntBits(float).

[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