Java.Nio.ShortBuffer.Put Method
Writes a short to the specified index of this buffer; the position is not changed.

Syntax

[Android.Runtime.Register("put", "(IS)Ljava/nio/ShortBuffer;", "GetPut_ISHandler")]
public abstract ShortBuffer Put (int index, short s)

Parameters

index
the index, must not be negative and less than the limit.
s
the short to write.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IndexOutOfBoundsExceptionif index is invalid.
Java.Nio.ReadOnlyBufferExceptionif no changes may be made to the contents of this buffer.

Remarks

Writes a short to the specified index of this buffer; the position is not changed.

[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