ByteBuffer.GetDouble(Int32) Method

Definition

Absolute get method for reading a double value.

[Android.Runtime.Register("getDouble", "(I)D", "GetGetDouble_IHandler")]
public abstract double GetDouble (int index);
[<Android.Runtime.Register("getDouble", "(I)D", "GetGetDouble_IHandler")>]
abstract member GetDouble : int -> double

Parameters

index
Int32

The index from which the bytes will be read

Returns

The double value at the given index

Attributes

Exceptions

if index is invalid.

Remarks

Absolute get method for reading a double value.

Reads eight bytes at the given index, composing them into a double value according to the current byte order.

Java documentation for java.nio.ByteBuffer.getDouble(int).

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