Platforms to show: All Mac Windows Linux Cross-Platform
CFBinaryDataMBS class
Super class: CFObjectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | CoreFoundation | MBS MacCF Plugin | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
If the release property is true, the destructor of this class will release the data reference.
This class works on Windows with QuickTime 7 installed.
This wraps a CFDataRef from Apple. It was named CFBinaryDataMBS instead of CFDataMBS over 10 years ago.
Subclass of the CFObjectMBS class.
- property len as Integer
- 8 methods
- method clone as CFBinaryDataMBS
- method Constructor(data as MemoryBlock)
- method Constructor(data as string)
- method Edit as CFMutableBinaryDataMBS
- method Mem as Memoryblock
- method Mem(pos as Integer,len as Integer) as Memoryblock
- method Str as String
- method Str(pos as Integer,len as Integer) as String
Super class CFObjectMBS
- 5 properties
- property Handle as Integer
- property Hash as Integer
- property Lasterror as Integer
- property Type as Integer
- property TypeDescription as String
- 9 methods
- method close
- method DeepCopy as CFObjectMBS
- method EncodedData as MemoryBlock
- method Equal(o as CFObjectMBS) as boolean
- method ReleaseObject
- method RetainCount as Integer
- method RetainObject
- method XML as CFBinaryDataMBS
- method XMLdata as String
- shared method NewCFObject(handle as Integer) as CFObjectMBS
Sub classes:
Some useful global functions for this class:
- CreateCFTimeZoneMBS(name as CFStringMBS, data as CFBinaryDataMBS) as CFTimeZoneMBS
- NewCFBinaryDataMBSMem(mem as memoryblock,len as Integer) as CFBinaryDataMBS
- NewCFBinaryDataMBSStr(s as string) as CFBinaryDataMBS
- NewCFObjectMBSFromXML(XMLdata as CFBinaryDataMBS) as CFObjectMBS
- NewCFObjectMBSFromXMLMT(XMLdata as CFBinaryDataMBS) as CFObjectMBS
Some methods using this class:
- CFCharacterSetMBS.NewCFCharacterSet(str as CFBinaryDataMBS) as CFCharacterSetMBS
- CFMutableBinaryDataMBS.AppendCFBinaryDataMBS(m as CFBinaryDataMBS)
- CFMutableBinaryDataMBS.ReplaceCFBinaryDataMBS(m as CFBinaryDataMBS,pos as Integer,len as Integer)
- CFMutableBinaryDataMBS.ReplaceCFBinaryDataMBS(m as CFBinaryDataMBS,pos as Integer,len as Integer,newlen as Integer)
- CFObjectMBS.XML as CFBinaryDataMBS
- CFSocketMBS.ConnectToAddress(address as CFBinaryDataMBS, timeout as Double) as Integer
- CFSocketMBS.PeerAddress as CFBinaryDataMBS
- CFSocketMBS.SendData(data as CFBinaryDataMBS, timeout as Double) as Integer
- CFTimeZoneMBS.Data as CFBinaryDataMBS
- SCPreferencesMBS.Signature as CFBinaryDataMBS
Some properties using for this class:
- CFHTTPMessageMBS.Body as CFBinaryDataMBS
- CFSocketMBS.Address as CFBinaryDataMBS
- MidiObjectMBS.BinaryProperty(name as CFStringMBS) as CFBinaryDataMBS
Some events using this class:
- CFSocketMBS.Callback(reason as Integer, address as CFBinaryDataMBS, data as memoryblock)
Some examples using this class:
- /MacCF/iTunes Playlists
- /MacCF/MIDI/Event Benchmark/MIDI Send
- /MacCF/MIDI/MIDI Send Keys
- /MacCF/MIDI/MIDI Source
- /MacCF/NewCFObjectMBSFromXML Test
- /MacCF/Plist Parsing
- /MacCocoa/Addressbook/Add Vcard to Addressbook
Blog Entries
The items on this page are in the following plugins: MBS MacCF Plugin.