Java.Nio.ByteBuffer.GetFloat Method
Returns the float at the specified index.

Syntax

[Android.Runtime.Register("getFloat", "(I)F", "GetGetFloat_IHandler")]
public abstract float GetFloat (int index)

Parameters

index
the index, must not be negative and equal or less than limit - 4.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IndexOutOfBoundsExceptionif index is invalid.

Remarks

Returns the float at the specified index.

The 4 bytes starting at the specified index are composed into a float according to the current byte order and returned. The position is not changed.

[Android Documentation]

Requirements

Namespace: Java.Nio
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1