Platforms to show: All Mac Windows Linux Cross-Platform
LargeBinaryStreamMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Files | MBS Util Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Deprecated in favor of BinaryStream class in Xojo unless you need a feature provided here, so please let us know!
- 7 properties
- 16 methods
- method Allocate(count as int64, flags as Integer) as int64
- method close
- method Flush
- method LockFileExclusive as boolean
- method QueryDiskGeometry(byref Cylinders as Int64, byref MediaType as Integer, byref TracksPerCylinder as Integer, byref SectorsPerTrack as Integer, byref BytesPerSector as Integer) as boolean
- method Read(count as Integer) as string
- method ReadBlock(count as Integer) as memoryblock
- method Readbyte as Integer
- method ReadLong as Integer
- method ReadShort as Integer
- method UnlockFileExclusive as boolean
- method Write(data as string)
- method WriteBlock(data as memoryblock,count as Integer)
- method WriteByte(data as Integer)
- method WriteLong(data as Integer)
- method WriteShort(data as Integer)
- 13 shared methods
- shared method Create(file as folderitem, MacType as string, MacCreator as string) as LargeBinaryStreamMBS
- shared method Create(path as string, MacType as string, MacCreator as string, WinShareMode as Integer = 0) as LargeBinaryStreamMBS
- shared method CreateResStream(file as folderitem, MacType as string, MacCreator as string) as ResStreamMBS
- shared method CreateResStream(path as string, MacType as string, MacCreator as string) as ResStreamMBS
- shared method DeleteDataFork(file as folderitem)
- shared method DeleteResourceFork(file as folderitem)
- shared method Open(file as folderitem, write as Boolean) as LargeBinaryStreamMBS
- shared method Open(path as string, write as Boolean, WinShareMode as Integer = 0) as LargeBinaryStreamMBS
- shared method OpenAsResStream(file as folderitem, write as Boolean) as ResStreamMBS
- shared method OpenAsResStream(path as string, write as Boolean) as ResStreamMBS
- shared method WinCreateStream(file as folderitem, StreamName as String, WinShareMode as Integer = 0) as LargeBinaryStreamMBS
- shared method WinDeleteStream(file as folderitem, StreamName as String) as boolean
- shared method WinOpenStream(file as folderitem, StreamName as String, write as Boolean, WinShareMode as Integer = 0) as LargeBinaryStreamMBS
Sub classes:
Some methods using this class:
- FolderItem.CreateLargeBinaryStreamMBS(MacType as string, MacCreator as string) as LargeBinaryStreamMBS
- FolderItem.OpenAsLargeBinaryStreamMBS(write as Boolean) as LargeBinaryStreamMBS
Some examples using this class:
- /Util/File Lock
- /Util/Largebinarystream Test
- /Util/Largebinarystream Threaded Reading
- /Util/Read Raw Disk on Windows
- /Util/Stream Test
- /Util/Streams
- /Util/Test hd write speed
- /Win/Windows File Streams
Blog Entries
- MBS Plugins updated for Xojo 2019r2
- Cleanup your C code for MacOS and remove FSCreateFileUnicode
- MBS Releases the MBS Xojo / Real Studio plug-ins in version 16.4
- MBS Xojo / Real Studio Plugins, version 16.4pr6
- MBS Xojo / Real Studio Plugins, version 16.4pr5
- MBS Real Studio Plugins, version 12.5pr2
- MBS Real Studio Plugins, version 12.4pr4
- MBS Real Studio Plugins, version 12.4pr3
Videos
The items on this page are in the following plugins: MBS Util Plugin.
LAContextMBS - LargeNumberErrorExceptionMBS