Java.Nio.LongBuffer.Compact Method
Compacts this long buffer.

Syntax

[Android.Runtime.Register("compact", "()Ljava/nio/LongBuffer;", "GetCompactHandler")]
public abstract LongBuffer 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 long buffer.

The remaining longs will be moved to the head of the buffer, staring 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