Java.Nio.LongBuffer.Put Method
Writes longs from the given long array, starting from the specified offset, to the current position and increases the position by the number of longs written.

Syntax

[Android.Runtime.Register("put", "([JII)Ljava/nio/LongBuffer;", "GetPut_arrayJIIHandler")]
public virtual LongBuffer Put (long[] src, int off, int len)

Parameters

src
the source long array.
srcOffset
the offset of long array, must not be negative and not greater than src.length.
longCount
the number of longs to write, must be no less than zero and not greater than src.length - srcOffset.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Nio.BufferOverflowExceptionif remaining() is less than longCount.
Java.Lang.IndexOutOfBoundsExceptionif either srcOffset or longCount is invalid.
Java.Nio.ReadOnlyBufferExceptionif no changes may be made to the contents of this buffer.

Remarks

Writes longs from the given long array, starting from the specified offset, to the current position and increases the position by the number of longs written.

[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