Platforms to show: All Mac Windows Linux Cross-Platform

Back to CFBinaryDataMBS class.

CFBinaryDataMBS.Data as Ptr

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreFoundation MBS MacCF Plugin 25.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The raw data pointer.
Example
Var d As New CFBinaryDataMBS("Hello")
Var p As Ptr = d.data
// read bytes and show as text, so we get back Hello
MessageBox Chr(p.Int8(0))+Chr(p.Int8(1))+Chr(p.Int8(2))+Chr(p.Int8(3))+Chr(p.Int8(4))

Only valid until something changes like data getting resized.
(Read only property)

CFBinaryDataMBS.len as Integer

Type Topic Plugin macOS Windows Linux iOS Targets
property CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
The length of this binary data in bytes.
Example
Var b as CFBinaryDataMBS = NewCFBinaryDataMBSStr("Hello")
MsgBox str(b.Len) // shows 5

(Read only property)

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


The biggest plugin in space...