DataOutputStream.WriteFloat(Single) Method

Definition

Converts the float argument to an <code>int</code> using the <code>floatToIntBits</code> method in class <code>Float</code>, and then writes that <code>int</code> value to the underlying output stream as a 4-byte quantity, high byte first.

[Android.Runtime.Register("writeFloat", "(F)V", "")]
public void WriteFloat (float v);
[<Android.Runtime.Register("writeFloat", "(F)V", "")>]
abstract member WriteFloat : single -> unit
override this.WriteFloat : single -> unit

Parameters

v
Single

a <code>float</code> value to be written.

Implements

Attributes

Exceptions

Remarks

Java documentation for java.io.DataOutputStream.writeFloat(float).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to