Java.Nio.ByteBuffer.PutLong Method
Writes the given long to the current position and increases the position by 8.

Syntax

[Android.Runtime.Register("putLong", "(J)Ljava/nio/ByteBuffer;", "GetPutLong_JHandler")]
public abstract ByteBuffer PutLong (long value)

Parameters

value
the long to write.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Nio.BufferOverflowExceptionif position is greater than limit - 8.
Java.Nio.ReadOnlyBufferExceptionif no changes may be made to the contents of this buffer.

Remarks

Writes the given long to the current position and increases the position by 8.

The long is converted to bytes using the current byte order.

[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