Xojo.Core.MemoryBlock.UInt8Value

From Xojo Documentation

Method

Xojo.Core.MemoryBlock.UInt8Value(offset As UInteger) As UInt8

Supported for all project types and targets.

Gets an UInt8 value at the specified offset (in bytes). A UInt8 can also be considered a Byte.

Sample Code

Get the bytes from a MemoryBlock:

Var getBytes() As UInt8
For i As Integer = 0 To 3
getBytes.AddRow(mb.UInt8Value(i))
Next