e-CryptIt Engine REALbasic Plugin

ZCompression Class

To handle zip compression and decompression on strings.

Object
   ZCompression

class ZCompression

Properties

ErrorValueThis property returns the error code for the last operation. Zero means no error, another value means a file error. The code used by the File Manager, see Inside Macintosh at the Apple Website.

Methods

CompressBytesTo compress the data given by the Bytes parameter, it returns the result as a string. If there is an error then the error code is in the ErrorValue property.
DecompressBytesTo decompress the data given by the Bytes parameter, it returns the result as a string. If there is an error then the error code is in the ErrorValue property.

Supported Platforms:

  • PPC - MacOS 9
  • Carbon - MacOS 9 and MacOS X (PEF)
  • MacOS X PPC - (Mach-O)
  • MacOS X Universal Binary (Mach-O)
  • Win32 - Windows
  • Linux x86