Xojo.Core.MutableMemoryBlock.DoubleValue

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Method

Xojo.Core.MutableMemoryBlock.DoubleValue(offset As UInteger, Assigns value As Double)

Supported for all project types and targets.

Sets a Double value in the MemoryBlock at the specified offset (in bytes).

Sample Code

Var d As Double = 12.34
Var value As New Xojo.Core.MutableMemoryBlock(8)
value.DoubleValue(0) = d