Java.Nio.ByteBuffer.ArrayOffset Method
Returns the offset of the byte array which this buffer is based on, if there is one.

Syntax

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

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Nio.ReadOnlyBufferExceptionif this buffer is based on a read-only array.
Java.Lang.UnsupportedOperationExceptionif this buffer is not based on an array.

Remarks

Returns the offset of the byte array which this buffer is based on, if there is one.

The offset is the index of the array which corresponds to the zero position of the buffer.

[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