Udostępnij za pośrednictwem


ObjectInputStream.ReadFloat Method

Definition

Reads a 32 bit float.

[Android.Runtime.Register("readFloat", "()F", "GetReadFloatHandler")]
public virtual float ReadFloat ();
[<Android.Runtime.Register("readFloat", "()F", "GetReadFloatHandler")>]
abstract member ReadFloat : unit -> single
override this.ReadFloat : unit -> single

Returns

the 32 bit float read.

Implements

Attributes

Exceptions

if the end of the input is reached before the read request can be satisfied.

if an error occurs while reading from the source stream.

Remarks

Reads a 32 bit float.

Java documentation for java.io.ObjectInputStream.readFloat().

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