Compression
Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics,
classes,
interfaces,
controls,
modules,
global methods by category,
global methods by name,
screenshots,
licenses
and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Compression
Functions for compressing and decompressing.
- Globals
- Classes
- class BZip2CompressMBS
- class BZip2DecompressMBS
- class BZip2FileMBS
- class GZipFileMBS
- class UnZipFileInfoMBS
- class UnZipFilePositionMBS
- class UnZipMBS
- method Close
- method CloseCurrentFile
- method Comment as string
- method CommentSize as UInt32
- shared method CompareFileNames(filename1 as string, filename2 as string, CaseSensitive as Integer) as Integer
- method Constructor(data as memoryblock)
- method Constructor(data as string)
- method Constructor(file as folderitem)
- method Constructor(file as folderitem, Offset as Integer)
- method Count as UInt64
- method EOF as Integer
- method ExtractFiles(DestFolder as FolderItem, ExtractWithoutPath as boolean = false, Overwrite as Boolean = false, Password as String = "", byref ErrorMessage as String) as boolean
- method FileInfo as UnZipFileInfoMBS
- method FileName as string
- method GetLocalExtrafield as string
- method GoToFirstFile
- method GoToNextFile
- method LocateFile(filename as string, CaseSensitive as Integer)
- method OpenCurrentFile
- method OpenCurrentFile(byref method as Integer, byref level as Integer, raw as boolean)
- method OpenCurrentFile(byref method as Integer, byref level as Integer, raw as boolean, password as string)
- method OpenCurrentFile(password as string)
- method Position as UInt64
- method Position2 as UInt64
- method ReadCurrentFile(size as Integer) as string
- property Handle as Integer
- property Lasterror as Integer
- property FilePosition as UnZipFilePositionMBS
- property Offset as UInt64
- class ZipFileInfoMBS
- class ZipMBS
- method Close(GlobalComment as string="")
- method CloseFile
- method CloseFileRaw(UncompressedSize as Integer, CRC32 as Integer)
- shared method CompressFiles(ZipFile as FolderItem, SourceFolder as FolderItem, files() as string, Overwrite as Integer = 0, Password as string = "", CompressionLevel as Integer = 9, byref ErrorMessage as string) as Integer
- method Constructor(file as folderitem, append as Integer = 0)
- method CreateFile(Filename as string, FileInfo as ZipFileInfoMBS, ExtraLocal as string = "", ExtraGlobal as string = "", Comment as String = "", CompressionMethod as Integer = 8, Level as Integer = 9, Zip64 as boolean = false)
- method CreateFile(Filename as string, FileInfo as ZipFileInfoMBS, ExtraLocal as string, ExtraGlobal as string, Comment as String, CompressionMethod as Integer, Level as Integer, Zip64 as boolean, Raw as boolean)
- method CreateFile(Filename as string, FileInfo as ZipFileInfoMBS, ExtraLocal as string, ExtraGlobal as string, Comment as String, CompressionMethod as Integer, Level as Integer, Zip64 as boolean, Raw as boolean, WindowBits as Integer, MemLevel as Integer, Strategy as Integer, Password as string, crcForCtypting as UInt32)
- method CreateFile(Filename as string, FileInfo as ZipFileInfoMBS, ExtraLocal as string, ExtraGlobal as string, Comment as String, CompressionMethod as Integer, Level as Integer, Zip64 as boolean, Raw as boolean, WindowBits as Integer, MemLevel as Integer, Strategy as Integer, Password as string, crcForCtypting as UInt32, versionMadeBy as UInt32, flagBase as UInt32)
- method Write(data as string)
- property Handle as Integer
- property Lasterror as Integer
- property ZipFileVersion32 as Integer
- property ZipFileVersion64 as Integer
- class ZLibCompressMBS
- class ZLibDecompressMBS
- class ZStdMBS
- shared method Compress(Data as MemoryBlock, CompressionLevel as Integer = 1) as MemoryBlock
- shared method Compress(Data as String, CompressionLevel as Integer = 1) as String
- shared method Decompress(Data as MemoryBlock) as MemoryBlock
- shared method Decompress(Data as String) as String
- Modules
- module LZ4MBS
- method Compress(InputData as MemoryBlock) as MemoryBlock
- method Compress(InputData as Ptr, Size as Integer) as MemoryBlock
- method Compress(InputData as string) as string
- method CompressFast(InputData as MemoryBlock, Acceleration as Integer = 1) as MemoryBlock
- method CompressFast(InputData as Ptr, Size as Integer, Acceleration as Integer = 1) as MemoryBlock
- method CompressFast(InputData as string, Acceleration as Integer = 1) as string
- method CompressHC(InputData as MemoryBlock, compressionLevel as Integer = 9) as MemoryBlock
- method CompressHC(InputData as Ptr, Size as Integer, compressionLevel as Integer = 9) as MemoryBlock
- method CompressHC(InputData as string, compressionLevel as Integer = 9) as string
- method Decompress(CompressedData as MemoryBlock, UncompressedSize as Integer = 0) as MemoryBlock
- method Decompress(CompressedData as Ptr, Size as Integer, UncompressedSize as Integer = 0) as MemoryBlock
- method Decompress(CompressedData as string, UncompressedSize as Integer = 0) as string
- method LibVersion as string
- const AccelerationDefault = 1
- const MaxInputSize = &h7E000000
- module PackbitsMBS
- method Compress(data as MemoryBlock) as MemoryBlock
- method Compress(data as string) as string
- method Compress(InputFile as FolderItem, OutputFile as FolderItem) as boolean
- method Decompress(data as MemoryBlock) as MemoryBlock
- method Decompress(data as string) as string
- method Decompress(InputFile as FolderItem, OutputFile as FolderItem) as boolean
Release notes
- Version 23.5
- Fixed a problem with PackBitsMBS not working properly for Linux ARM 64-bit.
- Version 22.2
- Added ZStdMBS class to compress/decompress with ZStandard compression.
- Version 21.1
- Fixed an issue with LZ4MBS decompression failing.
- Version 21.0
- Fixed problem with ReadCurrentFile function in UnZipMBS class not setting LastError property correctly.
- Version 19.5
- Added CompressFast and CompressHC methods to LZ4MBS module and new constants.
- Version 19.4
- Version 18.5
- Version 18.3
- Version 17.5
The items on this page are in the following plugins: MBS Compression Plugin.