Java.Nio.ByteBuffer.Get Method
Reads bytes from the current position into the specified byte array, starting at the specified offset, and increases the position by the number of bytes read.

Syntax

[Android.Runtime.Register("get", "([BII)Ljava/nio/ByteBuffer;", "GetGet_arrayBIIHandler")]
public virtual ByteBuffer Get (byte[] dest, int off, int len)

Parameters

dst
the target byte array.
dstOffset
the offset of the byte array, must not be negative and not greater than dst.length.
byteCount
the number of bytes to read, must not be negative and not greater than dst.length - dstOffset

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IndexOutOfBoundsExceptionif dstOffset
Java.Nio.BufferUnderflowExceptionif byteCount > remaining()

Remarks

Reads bytes from the current position into the specified byte array, starting at the specified offset, and increases the position by the number of bytes read.

[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