Java.Nio.FloatBuffer.Slice Method
Returns a sliced buffer that shares its content with this buffer.

Syntax

[Android.Runtime.Register("slice", "()Ljava/nio/FloatBuffer;", "GetSliceHandler")]
public abstract FloatBuffer Slice ()

Returns

Documentation for this section has not yet been entered.

Remarks

Returns a sliced buffer that shares its content with this buffer.

The sliced buffer's capacity will be this buffer's remaining(), and its zero position will correspond to this buffer's current position. The new buffer's position will be 0, limit will be its capacity, and its mark is cleared. The new buffer's read-only property and byte order are same as this buffer's.

The new buffer shares its content with this buffer, which means either buffer's change of content will be visible to the other. The two buffers' position, limit and mark are independent.

[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