Java.Nio.ShortBuffer.Put Method
Writes shorts from the given short array, starting from the specified offset, to the current position and increases the position by the number of shorts written.

Syntax

[Android.Runtime.Register("put", "([SII)Ljava/nio/ShortBuffer;", "GetPut_arraySIIHandler")]
public virtual ShortBuffer Put (short[] src, int off, int len)

Parameters

src
the source short array.
srcOffset
the offset of short array, must not be negative and not greater than src.length.
shortCount
the number of shorts 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 shortCount.
Java.Lang.IndexOutOfBoundsExceptionif either srcOffset or shortCount is invalid.
Java.Nio.ReadOnlyBufferExceptionif no changes may be made to the contents of this buffer.

Remarks

Writes shorts from the given short array, starting from the specified offset, to the current position and increases the position by the number of shorts 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