Platforms to show: All Mac Windows Linux Cross-Platform
Back to LargeBinaryStreamMBS class.
LargeBinaryStreamMBS.Allocate(count as int64, flags as Integer) as int64
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Only for Mac OS.
The flags can be like this:
AllocDefaultFlags | 0 | as much as possible, not contiguous |
AllocAllOrNothingMask | 1 | allocate all of the space, or nothing |
AllocContiguousMask | 2 | new space must be one contiguous piece |
AllocNoRoundUpMask | 4 | don't round up allocation to clump size |
Some examples using this method:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
There is no need to call this method except you want to free all resources of this object now without waiting for Xojo to do it for you.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | 5.0 | ✅ Yes | ❌ No | ✅ Yes | ✅ Yes | All |
Only for Mac OS X.
LargeBinaryStreamMBS.LockFileExclusive as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns true on success.
It may be possible that there is still a way around the lock.
Some examples using this method:
LargeBinaryStreamMBS.QueryDiskGeometry(byref Cylinders as Int64, byref MediaType as Integer, byref TracksPerCylinder as Integer, byref SectorsPerTrack as Integer, byref BytesPerSector as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This function is only useful on Windows and only if you opened a physical disc.
Returns true on success.
LargeBinaryStreamMBS.Read(count as Integer) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
LargeBinaryStreamMBS.ReadBlock(count as Integer) as memoryblock
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
LargeBinaryStreamMBS.Readbyte as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
LargeBinaryStreamMBS.ReadLong as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This function is affected by the LittleEndian Setting.
LargeBinaryStreamMBS.ReadShort as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This function is affected by the LittleEndian Setting.
LargeBinaryStreamMBS.UnlockFileExclusive as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns true on success.
Some examples using this method:
LargeBinaryStreamMBS.Write(data as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
LargeBinaryStreamMBS.WriteBlock(data as memoryblock,count as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
LargeBinaryStreamMBS.WriteByte(data as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
LargeBinaryStreamMBS.WriteLong(data as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This method is affected by the LittleEndian Setting.
LargeBinaryStreamMBS.WriteShort(data as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This method is affected by the LittleEndian Setting.
The items on this page are in the following plugins: MBS Util Plugin.