Platforms to show: All Mac Windows Linux Cross-Platform
Compression
Functions for compressing and decompressing.
- CompressBZip2MBS(buf as string,level as integer) as string
- DecompressBZip2MBS(buf as string,size as integer) as string
- Adler32MemoryMBS(adler as integer, buf as memoryblock, offset as integer, length as integer) as integer
- Adler32StringMBS(adler as integer, buf as string) as integer
- CompressZLibMBS(buf as string,level as integer) as string
- CRC32MemoryMBS(crc as integer, buf as memoryblock, offset as integer, length as integer) as integer
- CRC32StringMBS(crc as integer, buf as string) as integer
- DecompressZLibMBS(buf as string,size as integer) as string
- CompressLZWMBS(buf as string) as string
- DecompressLZWMBS(buf as string,size as integer) as string
- class BZip2CompressMBS
- method Close
- method Constructor(BufferSize as integer=20000)
- method EndZip
- method GetOutput as string
- method InitZip(level as integer)
- method InputAvail as integer
- method OutputSize as integer
- method ProcessZip(Flush as boolean=false)
- method SetInput(data as string) as boolean
- property Error as Integer
- property OutputBufferSize as Integer
- property TotalInput as UInt64
- property TotalOutput as UInt64
- property Version as String
- const kCONFIG_ERROR = -9
- const kDATA_ERROR = -4
- const kDATA_ERROR_MAGIC = -5
- const kFINISH = 2
- const kFINISH_OK = 3
- const kFLUSH = 1
- const kFLUSH_OK = 2
- const kIO_ERROR = -6
- const kMEM_ERROR = -3
- const kOK = 0
- const kOUTBUFF_FULL = -8
- const kPARAM_ERROR = -2
- const kRUN = 0
- const kRUN_OK = 1
- const kSEQUENCE_ERROR = -1
- const kSTREAM_END = 4
- const kUNEXPECTED_EOF = -7
- class BZip2DecompressMBS
- method Close
- method Constructor(BufferSize as integer=20000)
- method EndZip
- method GetOutput as string
- method InitZip
- method InputAvail as integer
- method OutputSize as integer
- method ProcessZip
- method SetInput(data as string) as boolean
- property Error as Integer
- property OutputBufferSize as Integer
- property TotalInput as UInt64
- property TotalOutput as UInt64
- property Version as String
- const kCONFIG_ERROR = -9
- const kDATA_ERROR = -4
- const kDATA_ERROR_MAGIC = -5
- const kFINISH = 2
- const kFINISH_OK = 3
- const kFLUSH = 1
- const kFLUSH_OK = 2
- const kIO_ERROR = -6
- const kMEM_ERROR = -3
- const kOK = 0
- const kOUTBUFF_FULL = -8
- const kPARAM_ERROR = -2
- const kRUN = 0
- const kRUN_OK = 1
- const kSEQUENCE_ERROR = -1
- const kSTREAM_END = 4
- const kUNEXPECTED_EOF = -7
- class BZip2FileMBS
- method Close
- method Flush
- method Open(file as folderitem, mode as string) as boolean
- method OpenString(data as string) as boolean
- method Read(data as integer) as string
- method Write(data as string)
- property ErrorCode as Integer
- property ErrorMessage as String
- property Handle as Integer
- property Lasterror as Integer
- property Version as String
- class GZipFileMBS
- method Adler32(start as integer, data as string) as integer
- method Close
- method CRC32(start as integer, data as string) as integer
- method Flush(flush as integer)
- method Open(file as folderitem, mode as string) as boolean
- method OpenString(data as string) as boolean
- method Read(data as integer) as string
- method ReadByte as integer
- method Rewind
- method SetParameter(level as integer, strategy as integer)
- method Write(data as string)
- method WriteByte(data as integer)
- property EOF as Boolean
- property ErrorCode as Integer
- property ErrorMessage as String
- property Handle as Integer
- property Lasterror as Integer
- property Position as Integer
- property Version as String
- class UnZipFileInfoMBS
- property CompressedSize as integer
- property CompressionMethod as integer
- property CRC as integer
- property Date as Date
- property Day as integer
- property DiskNumStart as integer
- property DosDate as integer
- property ExternalFileAttributes as integer
- property Flag as integer
- property Hour as integer
- property InternalFileAttributes as integer
- property Minute as integer
- property Month as integer
- property Second as integer
- property SizeFileComment as integer
- property SizeFileExtra as integer
- property SizeFilename as integer
- property UncompressedSize as integer
- property Version as integer
- property VersionNeeded as integer
- property Year as integer
- class UnZipFilePositionMBS
- property NumberOfFile as integer
- property PositionInZipDirectory as integer
- class UnZipMBS
- method Close
- method CloseCurrentFile
- method Comment as string
- method CommentSize as integer
- shared method CompareFileNames(filename1 as string, filename2 as string, CaseSensitive as integer) as integer
- method Constructor(file as folderitem)
- method Count as integer
- method EOF as integer
- method FileInfo as UnZipFileInfoMBS
- method FileName as string
- method FilePosition as UnZipFilePositionMBS
- method GetLocalExtrafield as string
- method GoToFirstFile
- method GoToNextFile
- method LocateFile(filename as string, CaseSensitive as integer)
- method Offset 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 integer
- method ReadCurrentFile(size as integer) as string
- property Handle as integer
- property Lasterror as integer
- const CompressionBestCompression=9
- const CompressionBestSpeed=1
- const CompressionDefault=-1
- const CompressionNo=0
- const MethodDeflated=8
- const MethodNone=0
- const StrategyDefault=0
- const StrategyFiltered=1
- const StrategyFixed=4
- const StrategyHuffmanOnly=2
- const StrategyRLE=3
- const UnzipBadUnZipFile=-103
- const UnzipCRCError=-105
- const UnzipEndOfListError=-100
- const UnzipInternalError=-104
- const UnzipOk=0
- const UnzipParameterError=-102
- class ZipFileInfoMBS
- method SetDate(d as date)
- property Day as integer
- property DosDate as integer
- property ExternalFileAttributes as integer
- property Hour as integer
- property InternalFileAttributes as integer
- property Minute as integer
- property Month as integer
- property Second as integer
- property Year as integer
- class ZipMBS
- method Close(GlobalComment as string="")
- method CloseFile
- method CloseFileRaw(UncompressedSize as integer, CRC32 as integer)
- method Constructor(file as folderitem, append as integer)
- method CreateFile(Filename as string, FileInfo as ZipFileInfoMBS, ExtraLocal as string, ExtraGlobal as string, Comment as String, CompressionMethod as integer, Level as Integer)
- method CreateFile(Filename as string, FileInfo as ZipFileInfoMBS, ExtraLocal as string, ExtraGlobal as string, Comment as String, CompressionMethod as integer, Level as Integer, 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, Raw as boolean, WindowBits as integer, MemLevel as integer, Strategy as integer, Password as string, crcForCtypting as integer)
- method Write(data as string)
- property Handle as integer
- property Lasterror as integer
- const AppendStatusAddInZip=2
- const AppendStatusCreate=0
- const AppendStatusCreateAfter=1
- const CompressionBestCompression=9
- const CompressionBestSpeed=1
- const CompressionDefault=-1
- const CompressionNo=0
- const MethodDeflated=8
- const MethodNone=0
- const StrategyDefault=0
- const StrategyFiltered=1
- const StrategyFixed=4
- const StrategyHuffmanOnly=2
- const StrategyRLE=3
- const ZipBadZipFile=-103
- const ZipInternalError=-104
- const ZipOk=0
- const ZipParameterError=-102
- class ZLibCompressMBS
- method Adler32(start as integer, data as string) as integer
- method close
- method Constructor(BufferSize as integer=20000)
- method CRC32(start as integer, data as string) as integer
- method EndZip
- method GetOutput as string
- method InitZip(level as integer)
- method InputAvail as integer
- method OutputSize as integer
- method ProcessZip(Flush as boolean=false)
- method SetInput(data as string) as boolean
- property CRC as Integer
- property Error as Integer
- property ErrorMessage as String
- property OutputBufferSize as Integer
- property TotalInput as Integer
- property TotalOutput as Integer
- property Version as String
- const kASCII = 1
- const kBEST_COMPRESSION = 9
- const kBEST_SPEED = 1
- const kBINARY = 0
- const kBLOCK = 5
- const kBUF_ERROR = -5
- const kDATA_ERROR = -3
- const kDEFAULT_COMPRESSION = -1
- const kDEFAULT_STRATEGY = 0
- const kDEFLATED = 8
- const kERRNO = -1
- const kFILTERED = 1
- const kFINISH = 4
- const kFIXED = 4
- const kFULL_FLUSH = 3
- const kHUFFMAN_ONLY = 2
- const kMEM_ERROR = -4
- const kNEED_DICT = 2
- const kNO_COMPRESSION = 0
- const kNO_FLUSH = 0
- const kNULL = 0
- const kOK = 0
- const kPARTIAL_FLUSH = 1
- const kRLE = 3
- const kSTREAM_END = 1
- const kSTREAM_ERROR = -2
- const kSYNC_FLUSH = 2
- const kTEXT = 1
- const kUNKNOWN = 2
- const kVERSION_ERROR = -6
- class ZLibDecompressMBS
- method Adler32(start as integer, data as string) as integer
- method close
- method Constructor(BufferSize as integer=20000)
- method CRC32(start as integer, data as string) as integer
- method EndZip
- method GetOutput as string
- method InitZip
- method InputAvail as integer
- method OutputSize as integer
- method ProcessZip(Flush as boolean=false)
- method SetInput(data as string) as boolean
- property Error as Integer
- property ErrorMessage as String
- property OutputBufferSize as Integer
- property TotalInput as Integer
- property TotalOutput as Integer
- property Version as String
- const kASCII = 1
- const kBEST_COMPRESSION = 9
- const kBEST_SPEED = 1
- const kBINARY = 0
- const kBLOCK = 5
- const kBUF_ERROR = -5
- const kDATA_ERROR = -3
- const kDEFAULT_COMPRESSION = -1
- const kDEFAULT_STRATEGY = 0
- const kDEFLATED = 8
- const kERRNO = -1
- const kFILTERED = 1
- const kFINISH = 4
- const kFIXED = 4
- const kFULL_FLUSH = 3
- const kHUFFMAN_ONLY = 2
- const kMEM_ERROR = -4
- const kNEED_DICT = 2
- const kNO_COMPRESSION = 0
- const kNO_FLUSH = 0
- const kNULL = 0
- const kOK = 0
- const kPARTIAL_FLUSH = 1
- const kRLE = 3
- const kSTREAM_END = 1
- const kSTREAM_ERROR = -2
- const kSYNC_FLUSH = 2
- const kTEXT = 1
- const kUNKNOWN = 2
- const kVERSION_ERROR = -6
The items on this page are in the following plugins: MBS REALbasic Compression Plugin.
Links
MBS Filemaker Plugins - Pfarrgemeinde Ministranten Nickenich