Xojo.Core.MutableMemoryBlock.BooleanValue

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
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