Java.Nio.FloatBuffer.Wrap Method
Creates a new float buffer by wrapping the given float array.

Syntax

[Android.Runtime.Register("wrap", "([FII)Ljava/nio/FloatBuffer;", "")]
public static FloatBuffer Wrap (float[] array, int start, int len)

Parameters

array
the float array which the new buffer will be based on.
start
the start index, must not be negative and not greater than array.length.
floatCount
the length, must not be negative and not greater than array.length - start.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IndexOutOfBoundsExceptionif either start or floatCount is invalid.
Java.Lang.NullPointerExceptionif array is null.

Remarks

Creates a new float buffer by wrapping the given float array.

The new buffer's position will be start, limit will be start + floatCount, capacity will be the length of the array.

[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