LongBuffer.Get LongBuffer.Get Method

Definition

Overloads

Get(Int64[]) Get(Int64[])

Reads longs from the current position into the specified long array and increases the position by the number of longs read.

Get(Int64[], Int32, Int32) Get(Int64[], Int32, Int32)

Reads longs from the current position into the specified long array, starting from the specified offset, and increase the position by the number of longs read.

Get() Get()

Returns the long at the current position and increase the position by 1.

Get(Int32) Get(Int32)

Returns the long at the specified index; the position is not changed.

Get(Int64[]) Get(Int64[])

Reads longs from the current position into the specified long array and increases the position by the number of longs read.

[Android.Runtime.Register("get", "([J)Ljava/nio/LongBuffer;", "GetGet_arrayJHandler")]
public virtual Java.Nio.LongBuffer Get (long[] dst);
abstract member Get : int64[] -> Java.Nio.LongBuffer
override this.Get : int64[] -> Java.Nio.LongBuffer

Parameters

dst
Int64[]

the destination long array.

Returns

Exceptions

if dst.length is greater than remaining().

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Get(Int64[], Int32, Int32) Get(Int64[], Int32, Int32)

Reads longs from the current position into the specified long array, starting from the specified offset, and increase the position by the number of longs read.

[Android.Runtime.Register("get", "([JII)Ljava/nio/LongBuffer;", "GetGet_arrayJIIHandler")]
public virtual Java.Nio.LongBuffer Get (long[] dst, int offset, int length);
abstract member Get : int64[] * int * int -> Java.Nio.LongBuffer
override this.Get : int64[] * int * int -> Java.Nio.LongBuffer

Parameters

dst
Int64[]

the target long array.

offset
Int32 Int32
length
Int32 Int32

Returns

Exceptions

if either dstOffset or longCount is invalid.

if longCount is greater than remaining().

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Get() Get()

Returns the long at the current position and increase the position by 1.

[Android.Runtime.Register("get", "()J", "GetGetHandler")]
public abstract long Get ();
abstract member Get : unit -> int64

Returns

Exceptions

if the position is equal or greater than limit.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Get(Int32) Get(Int32)

Returns the long at the specified index; the position is not changed.

[Android.Runtime.Register("get", "(I)J", "GetGet_IHandler")]
public abstract long Get (int index);
abstract member Get : int -> int64

Parameters

index
Int32 Int32

the index, must not be negative and less than limit.

Returns

Exceptions

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to