Platforms to show: All Mac Windows Linux Cross-Platform

Back to StringHandleMBS class.

Previous items

StringHandleMBS.UInt32Value(offset as Integer) as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
property String MBS DataTypes Plugin 21.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Get or set an UInt32 value.

Offset is range checked and may raise an OutOfBoundsException.

When you assign a value and the offset is exactly size of the string handle plus one, we append the new byte.
(Read and Write computed property)

StringHandleMBS.UInt8Value(offset as Integer) as UInt8

Type Topic Plugin Version macOS Windows Linux iOS Targets
property String MBS DataTypes Plugin 21.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Get or set a byte value.
Example
Dim s As New StringHandleMBS("Hello Welt")

dim n as integer = s.UInt8Value(2)
s.UInt8Value(2) = Asc("a")

MsgBox s.Copy

// append

s.UInt8Value(s.Len+1) = Asc("!")
MsgBox s.Copy

Offset is range checked and may raise an OutOfBoundsException.

When you assign a value and the offset is exactly size of the string handle plus one, we append the new byte.
(Read and Write computed property)

Previous items

The items on this page are in the following plugins: MBS DataTypes Plugin.


The biggest plugin in space...