Object
ZStreamWriter
IBinaryStreamWriter
IBlockWriter
ZStreamWriter | A constructor which will direct the output of the stream to a file. (FolderItem) |
ZStreamWriter | A constructor which will direct the output of the stream to any class that implements the IBinaryStreamWriter interface. |
ZStreamWriter | A constructor which will direct the output of the stream to a file (FolderItem) and take a buffer MemoryBlock object to do custom buffering. |
ZStreamWriter | A constructor which will direct the output of the stream to any class that implements the IBinaryStreamWriter interface and it also takes a buffer MemoryBlock object to do custom buffering. |
ZStreamWriter | A constructor which will direct the output of the stream to a BinaryStream object that is open in Write mode. This constructor also takes a boolean parameter to optionally skip gz headers in the output. |
Buffer | This property can be used to obtain or set the MemoryBlock that is used for a shared memory block based decompression. |
CompressedSize | Returns the size of the compressed data in the stream. |
CRC | Returns the CRC of the uncompressed data in the stream. |
Position | Returns the cursor position within the stream. |
UncompressedSize | Returns the size of the uncompressed data in the stream. |
Close | To close the stream. The stream is also closed when it is deconstructed. |
LastError | This 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. |
Seek | To move, relatively or absolutely, the cursor in the stream. |
Write | To write the data into the stream. |
WriteBlock | Call the WriteBlock method in a loop to let the stream compress data from the shared memory block. |