e-CryptIt Engine - Compression Xojo Plugin

ZStreamWriter.Constructor Constructor

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.

Constructor(
   writer as IBinaryStreamWriter,
   buffer as MemoryBlock)

Parameters

writer
A stream to be compress to.
buffer
This you may want to use if you are doing optimized encoding that is based on sharing memory blocks. If you do not set this parameter then a default memory block with 4096 bytes is created internally.

Remarks

See Also

ZStreamWriter Class