Java.Nio.ByteBuffer.GetInt Method
Returns the int at the specified index.

Syntax

[Android.Runtime.Register("getInt", "(I)I", "GetGetInt_IHandler")]
public abstract int GetInt (int index)

Parameters

index
the index, must not be negative and equal or less than limit - 4.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IndexOutOfBoundsExceptionif index is invalid.

Remarks

Returns the int at the specified index.

The 4 bytes starting at the specified index are composed into a int according to the current byte order and returned. The position is not changed.

[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