Java.Nio.ByteBuffer.AsCharBuffer Method
Returns a char buffer which is based on the remaining content of this byte buffer.

Syntax

[Android.Runtime.Register("asCharBuffer", "()Ljava/nio/CharBuffer;", "GetAsCharBufferHandler")]
public abstract CharBuffer AsCharBuffer ()

Returns

Documentation for this section has not yet been entered.

Remarks

Returns a char buffer which is based on the remaining content of this byte buffer.

The new buffer's position is zero, its limit and capacity is the number of remaining bytes divided by two, and its mark is not set. The new buffer's read-only property and byte order are the same as this buffer's. The new buffer is direct if this byte buffer is direct.

The new buffer shares its content with this buffer, which means either buffer's change of content will be visible to the other. The two buffers' position, limit and mark are independent.

[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