ByteBuffer.PutDouble Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PutDouble(Int32, Double) |
Absolute put method for writing a double value (optional operation). |
PutDouble(Double) |
Relative put method for writing a double value (optional operation). |
PutDouble(Int32, Double)
Absolute put method for writing a double value (optional operation).
[Android.Runtime.Register("putDouble", "(ID)Ljava/nio/ByteBuffer;", "GetPutDouble_IDHandler")]
public abstract Java.Nio.ByteBuffer PutDouble (int index, double value);
[<Android.Runtime.Register("putDouble", "(ID)Ljava/nio/ByteBuffer;", "GetPutDouble_IDHandler")>]
abstract member PutDouble : int * double -> Java.Nio.ByteBuffer
Parameters
- index
- Int32
The index at which the bytes will be written
- value
- Double
The double value to be written
Returns
This buffer
- Attributes
Exceptions
if index
is invalid.
if no changes may be made to the contents of this buffer.
Remarks
Absolute put method for writing a double value (optional operation).
Writes eight bytes containing the given double value, in the current byte order, into this buffer at the given index.
Java documentation for java.nio.ByteBuffer.putDouble(int, double)
.
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
PutDouble(Double)
Relative put method for writing a double value (optional operation).
[Android.Runtime.Register("putDouble", "(D)Ljava/nio/ByteBuffer;", "GetPutDouble_DHandler")]
public abstract Java.Nio.ByteBuffer PutDouble (double value);
[<Android.Runtime.Register("putDouble", "(D)Ljava/nio/ByteBuffer;", "GetPutDouble_DHandler")>]
abstract member PutDouble : double -> Java.Nio.ByteBuffer
Parameters
- value
- Double
The double value to be written
Returns
This buffer
- Attributes
Exceptions
if position is greater than limit - 8
.
if no changes may be made to the contents of this buffer.
Remarks
Relative put method for writing a double value (optional operation).
Writes eight bytes containing the given double value, in the current byte order, into this buffer at the current position, and then increments the position by eight.
Java documentation for java.nio.ByteBuffer.putDouble(double)
.
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.