e-CryptIt Engine - Compression Xojo Plugin

ZStream Class (console safe)

To handle zip compression and decompression on files (.gz format).

Note: This class has been replaced by the ZStreamWriter and the ZStreamReader classes. This class is provided here because there are still some 3rd party kits that use this class. If you are developing a new product and using REALbasic 5.5 or later then it is highly recommended that you use the new and more advanced classes.

Object
   ZStream

class ZStream implements

IStreamWriter

IStreamReader

Constructors

ZStreamOne of two constructors for the ZStream class.
ZStreamOne of two constructors for the ZStream class.

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.
PositionReturns the cursor position within the stream.

Methods

CloseTo close the stream. The stream is also closed when it is deconstructed.
EOFThis property is used when decoding to determine if the end of the stream is reached.
shared GetZipEngineHandleReturns handle to the internal Zip engine for other plugins to use.
LastErrorThis 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.
shared PluginVersionReturns the version number of the plugin.
ReadTo read data from the stream.
SeekTo move, relatively or absolutely, the cursor in the stream.
WriteTo write the data into the stream.

Supported Platforms:

  • MacOS X Cocoa 32 bit
  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM