Aracılığıyla paylaş


ObjectOutputStream.WriteFloat(Single) Method

Definition

Writes a 32 bit float.

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

Parameters

val
Single

the float value to be written

Implements

Attributes

Exceptions

if an error occurs while writing to the target stream.

Remarks

Writes a 32 bit float.

Java documentation for java.io.ObjectOutputStream.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