Java.Nio.ShortBuffer.Put Method
Writes all the remaining shorts of the src short buffer to this buffer's current position, and increases both buffers' position by the number of shorts copied.

Syntax

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

Parameters

src
the source short buffer.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Nio.BufferOverflowExceptionif src.remaining() is greater than this buffer's remaining().
Java.Lang.IllegalArgumentExceptionif src is this buffer.
Java.Nio.ReadOnlyBufferExceptionif no changes may be made to the contents of this buffer.

Remarks

Writes all the remaining shorts of the src short buffer to this buffer's current position, and increases both buffers' position by the number of shorts copied.

[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