Java.Nio.ByteBuffer.GetLong Method
Returns the long at the specified index.

Syntax

[Android.Runtime.Register("getLong", "(I)J", "GetGetLong_IHandler")]
public abstract long GetLong (int index)

Parameters

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

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IndexOutOfBoundsExceptionif index is invalid.

Remarks

Returns the long at the specified index.

The 8 bytes starting at the specified index are composed into a long 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