MemoryBlock.UInt32Value

From Xojo Documentation

Method

MemoryBlock.UInt32Value(Offset as Integer) As UInt32

New in 2005r5

Supported for all project types and targets.

Gets or sets a UInt32 value. Offset is in bytes from the beginning of the MemoryBlock.

Sample Code

This example sets a UInt32 value in a MemoryBlock and then accesses it.

Var i As UInt32
Var m As New MemoryBlock(4)
m.UInt32Value(0) = 48000

i = m.UInt32Value(0)