Platforms to show: All Mac Windows Linux Cross-Platform
DispatchDataMBS class New in 25.3
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | DispatchIO | MBS MacOSX Plugin | 25.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Dispatch data objects describe contiguous or sparse regions of memory that may be managed by the system or by the application.
Dispatch data objects are immutable, any direct access to memory regions represented by dispatch objects must not modify that memory.
We usually just wrap a MemoryBlock and avoid copying it for better performance.
- 5 properties
- property Handle as Integer
- property ReferencedMemory as MemoryBlock
- property SegementCount as Integer
- property Size as Integer
- property Tag as Variant
- 6 methods
- method Concat(other as DispatchDataMBS) as DispatchDataMBS
- method Constructor(data as DispatchDataMBS)
- method Constructor(data as MemoryBlock, copy as boolean = false)
- method Constructor(data as Ptr, Length as Integer)
- method CopyData as MemoryBlock
- method SubRange(offset as UInt64, length as UInt64) as DispatchDataMBS
This class has no sub classes.
Blog Entries
Release notes
- Version 25.3
- Added DispatchDataMBS or DispatchIOMBS classes.
Some methods using this class:
- DispatchIOMBS.Write(offset as Int64, Data as DispatchDataMBS, theDelegate as DispatchIOWriteMBS = nil)
- DispatchIOMBS.WriteStream(Stream as BinaryStream, Data as DispatchDataMBS, theDelegate as DispatchIOWriteStreamMBS)
Some events using this class:
- DispatchIOMBS.ReadCompleted(offset as Int64, Data as DispatchDataMBS, done as Boolean, Error as Integer)
- DispatchIOMBS.WriteCompleted(offset as Int64, OriginalData as DispatchDataMBS, RemainingData as DispatchDataMBS, done as Boolean, Error as Integer)
Some related classes:
The items on this page are in the following plugins: MBS MacOSX Plugin.
DisclosureTriangle - DispatchIOMBS
