Java.Nio.ByteBuffer.GetChar Method
Returns the char at the specified index.

Syntax

[Android.Runtime.Register("getChar", "(I)C", "GetGetChar_IHandler")]
public abstract char GetChar (int index)

Parameters

index
the index, must not be negative and equal or less than limit - 2.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IndexOutOfBoundsExceptionif index is invalid.

Remarks

Returns the char at the specified index.

The 2 bytes starting from the specified index are composed into a char according to the current byte order and returned. 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