e-CryptIt Engine - Compression Xojo Plugin |

# ZStreamWriter.Constructor Constructor (console safe)

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.

Constructor(
writer as BinaryStream,
includeGZHeader as Boolean)

#### Parameters

writer
  A stream to be compress to. (The stream has to be open in write mode)
includeGZHeader
  If true then gz headers are included, if false then no gz headers are included. All other constructors of this class will by default include the gz headers.

#### Remarks

#### See Also

ZStreamWriter Class