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

Syntax

[Android.Runtime.Register("put", "([S)Ljava/nio/ShortBuffer;", "")]
public ShortBuffer Put (short[] src)

Parameters

src
the source short array.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Nio.BufferOverflowExceptionif remaining() is less than src.length.
Java.Nio.ReadOnlyBufferExceptionif no changes may be made to the contents of this buffer.

Remarks

Writes shorts from the given short array to the current position and increases the position by the number of shorts written.

Calling this method has the same effect as put(src, 0, src.length).

[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