Xojo.Core.MutableMemoryBlock.BooleanValue

From Xojo Documentation

Method

Xojo.Core.MutableMemoryBlock.BooleanValue(offset As UInteger, Assigns value As Boolean)

Supported for all project types and targets.

Sets a Boolean value in the MemoryBlock at the specified offset (in bytes). Any non-zero value is considered True.

Sample Code

Var value As New Xojo.Core.MutableMemoryBlock(1)
value.BooleanValue(0) = True