Java.Nio.ByteBuffer.PutLong Method
Writes the given long to the specified index of this buffer.

Syntax

[Android.Runtime.Register("putLong", "(IJ)Ljava/nio/ByteBuffer;", "GetPutLong_IJHandler")]
public abstract ByteBuffer PutLong (int index, long value)

Parameters

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

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IndexOutOfBoundsExceptionif index is invalid.
Java.Nio.ReadOnlyBufferExceptionif no changes may be made to the contents of this buffer.

Remarks

Writes the given long to the specified index of this buffer.

The long is converted to bytes using the current byte order. 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