e-CryptIt Engine - Compression Xojo Plugin |

# ZStreamWriter.Constructor Constructor (console safe)

A constructor which will direct the output of the stream to a file (FolderItem) and take a buffer MemoryBlock object to do custom buffering.

Constructor(
dst as FolderItem,
buffer as MemoryBlock)

#### Parameters

dst
  The file to 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