FixIO Documentation

Back to summary

import "io/gzip";

GZipStream class

GZip compression stream.

Inherits from ZStream.

Initialization

static function create(parent: Stream): GZipStream
static function create(parent: Stream, flushable: Boolean): GZipStream
Creates a new compression stream (writing compresses and reading decompresses). Optionally you can enable ability to flush data in the middle of the stream. The resulting compressed stream is then aligned to byte boundary on flushes.
static function create_inverted(parent: Stream): GZipStream
Creates a new inverted compression stream (writing decompresses and reading compresses).