Java.Nio.FloatBuffer.Compact Method
Compacts this float buffer.

Syntax

[Android.Runtime.Register("compact", "()Ljava/nio/FloatBuffer;", "GetCompactHandler")]
public abstract FloatBuffer Compact ()

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Nio.ReadOnlyBufferExceptionif no changes may be made to the contents of this buffer.

Remarks

Compacts this float buffer.

The remaining floats will be moved to the head of the buffer, starting from position zero. Then the position is set to remaining(); the limit is set to capacity; the mark is cleared.

[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