Platforms to show: All Mac Windows Linux Cross-Platform
Back to UnZipMBS class.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Compression | MBS Compression Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Use CloseCurrentFile to close any open file before using Close.
Lasterror is UnZipOK on success.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Compression | MBS Compression Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Lasterror is set to UnzipCRCError if all the file was read but the CRC was not correct.
Some examples using this method:
- /Compression/Old ZipMBS class/test huge files with big archive
- /Compression/Old ZipMBS class/unzip
- /Compression/Old ZipMBS class/unzip with encryption
- /Compression/Old ZipMBS class/unzip with folders
- /Compression/Old ZipMBS class/unzip with folders and encryption
- /Compression/Old ZipMBS class/unzip with folders and progressbar
- /Compression/Old ZipMBS class/unzip with memory
- /Compression/Old ZipMBS class/unzip with offset
- /Compression/Old ZipMBS class/unzip with string
- /Main/Obfuscate/Obfuscate Xojo Plugins
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Compression | MBS Compression Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
UnZipMBS.CommentSize as UInt32
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Compression | MBS Compression Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
UnZipMBS.Constructor(data as memoryblock)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Compression | MBS Compression Plugin | 10.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Handle property is zero on failure and not zero on success.
The memory block must have a known size.
See also:
UnZipMBS.Constructor(data as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Compression | MBS Compression Plugin | 10.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Handle property is zero on failure and not zero on success.
See also:
UnZipMBS.Constructor(file as folderitem)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Compression | MBS Compression Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Handle property is zero on failure and not zero on success.
If you run this class in a thread, please make sure your thread has a big stack (1 MB or more). Else it will crash.
See also:
UnZipMBS.Constructor(file as folderitem, Offset as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Compression | MBS Compression Plugin | 11.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Handle property is zero on failure and not zero on success.
See also:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Compression | MBS Compression Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This value is stored in the zip archive as 16 bit integer, so maximum value is 65535. The plugin can extract more files than that number.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Compression | MBS Compression Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This is not to test whether you are on the end of the zip archive.
UnZipMBS.ExtractFiles(DestFolder as FolderItem, ExtractWithoutPath as boolean = false, Overwrite as Boolean = false, Password as String = "", byref ErrorMessage as String) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Compression | MBS Compression Plugin | 16.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
DestFolder: Destination folder.
ExtractWithoutPath: If true, all files are put in one folder.
Overwrite: Whether to allow overwriting files.
Password: The password to decrypt files.
ErrorMessage: An english error message.
Returns true on success or false on failure.
This function does not restore file permissions or other metadata.
And it may not work with non ASCII characters.
If you need more control over files being extracted, stored or error checking, please use example projects coming with plugin.
Some examples using this method:
UnZipMBS.FileInfo as UnZipFileInfoMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Compression | MBS Compression Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns nil on any error.
Some examples using this method:
- /Compression/Old ZipMBS class/test huge files with big archive
- /Compression/Old ZipMBS class/test huge files with small archive
- /Compression/Old ZipMBS class/unzip
- /Compression/Old ZipMBS class/unzip with encryption
- /Compression/Old ZipMBS class/unzip with folders
- /Compression/Old ZipMBS class/unzip with folders and encryption
- /Compression/Old ZipMBS class/unzip with folders and progressbar
- /Compression/Old ZipMBS class/unzip with memory
- /Compression/Old ZipMBS class/unzip with string
- /Main/Obfuscate/Obfuscate Xojo Plugins
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Compression | MBS Compression Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This name has no text encoding defined, as the plugin has no idea what text encoding was used. You may need to define the text encoding as being ASCII, Windows, MacRoman or whatever, when you work with this file name.
This name may include path components for folders.
UnZipMBS.FilePosition as UnZipFilePositionMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Compression | MBS Compression Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
You can read or set the current file you edit.
(Read and Write computed property)
UnZipMBS.GetLocalExtrafield as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Compression | MBS Compression Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This is the local-header version of the extra field (sometimes, there is more info in the local-header version than in the central-header)
Some examples using this method:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Compression | MBS Compression Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Lasterror is UnzipOk on success.
Some examples using this method:
- /Compression/Old ZipMBS class/test huge files with small archive
- /Compression/Old ZipMBS class/unzip
- /Compression/Old ZipMBS class/unzip with encryption
- /Compression/Old ZipMBS class/unzip with folders
- /Compression/Old ZipMBS class/unzip with folders and encryption
- /Compression/Old ZipMBS class/unzip with folders and progressbar
- /Compression/Old ZipMBS class/unzip with memory
- /Compression/Old ZipMBS class/unzip with offset
- /Compression/Old ZipMBS class/unzip with string
- /Main/Obfuscate/Obfuscate Xojo Plugins
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Compression | MBS Compression Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Lasterror is UnzipOk if there is no problem and UnzipEndOfListError if the actual file was the latest.
Some examples using this method:
- /Compression/Old ZipMBS class/test huge files with big archive
- /Compression/Old ZipMBS class/test huge files with small archive
- /Compression/Old ZipMBS class/unzip
- /Compression/Old ZipMBS class/unzip with encryption
- /Compression/Old ZipMBS class/unzip with folders
- /Compression/Old ZipMBS class/unzip with folders and encryption
- /Compression/Old ZipMBS class/unzip with folders and progressbar
- /Compression/Old ZipMBS class/unzip with memory
- /Compression/Old ZipMBS class/unzip with offset
- /Main/Obfuscate/Obfuscate Xojo Plugins
UnZipMBS.LocateFile(filename as string, CaseSensitive as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Compression | MBS Compression Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
For the CaseSensitivity signification, see CompareFileNames. Text encoding must match the text encoding of the files.
Lasterror is UnzipOk if the file is found. It becomes the current file, UnzipEndOfListError if the file is not found.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Compression | MBS Compression Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If you set this value, you basicly move to another file.
(Read and Write computed property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Compression | MBS Compression Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
- OpenCurrentFile(byref method as Integer, byref level as Integer, raw as boolean)
- OpenCurrentFile(byref method as Integer, byref level as Integer, raw as boolean, password as string)
- OpenCurrentFile(password as string)
Some examples using this method:
- /Compression/Old ZipMBS class/test huge files with small archive
- /Compression/Old ZipMBS class/unzip
- /Compression/Old ZipMBS class/unzip with encryption
- /Compression/Old ZipMBS class/unzip with folders
- /Compression/Old ZipMBS class/unzip with folders and encryption
- /Compression/Old ZipMBS class/unzip with folders and progressbar
- /Compression/Old ZipMBS class/unzip with memory
- /Compression/Old ZipMBS class/unzip with offset
- /Compression/Old ZipMBS class/unzip with string
- /Main/Obfuscate/Obfuscate Xojo Plugins
UnZipMBS.OpenCurrentFile(byref method as Integer, byref level as Integer, raw as boolean)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Compression | MBS Compression Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
if raw=true the file data is returned uncompressed. If raw is false, it is decompressed for you.
Method will receive the method of compression.
level will receive the level of compression.
See also:
UnZipMBS.OpenCurrentFile(byref method as Integer, byref level as Integer, raw as boolean, password as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Compression | MBS Compression Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
if raw=true the file data is returned uncompressed. If raw is false, it is decompressed for you.
Method will receive the method of compression.
level will receive the level of compression.
See also:
UnZipMBS.OpenCurrentFile(password as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Compression | MBS Compression Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
password is a crypting password.
See also:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Compression | MBS Compression Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Compression | MBS Compression Plugin | 11.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This property is useful to show progressbar with progress over reading the original zip file.
UnZipMBS.ReadCurrentFile(size as Integer) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Compression | MBS Compression Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns "" on any error or on file end.
Some examples using this method:
- /Compression/Old ZipMBS class/test huge files with big archive
- /Compression/Old ZipMBS class/test huge files with small archive
- /Compression/Old ZipMBS class/unzip
- /Compression/Old ZipMBS class/unzip with encryption
- /Compression/Old ZipMBS class/unzip with folders
- /Compression/Old ZipMBS class/unzip with folders and encryption
- /Compression/Old ZipMBS class/unzip with folders and progressbar
- /Compression/Old ZipMBS class/unzip with offset
- /Compression/Old ZipMBS class/unzip with string
- /Main/Obfuscate/Obfuscate Xojo Plugins
The items on this page are in the following plugins: MBS Compression Plugin.
