Java.Nio.IntBuffer.ArrayOffset Method
Returns the offset into the array returned by array of the first element of the buffer (optional operation).

Syntax

[Android.Runtime.Register("arrayOffset", "()I", "")]
public override sealed int ArrayOffset ()

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the offset into the array returned by array of the first element of the buffer (optional operation). The backing array (if there is one) is not necessarily the same size as the buffer, and position 0 in the buffer is not necessarily the 0th element in the array. Use buffer.array()[offset + buffer.arrayOffset() to access element offset in buffer.

Use hasArray to ensure this method won't throw. (A separate call to isReadOnly is not necessary.)

[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