Property

GioZlibCompressor:os

unstable since: 2.86

Declaration

property os: int [ read, write ]

Description [src]

The OS code of the gzip header.

This will be used if set to a non-negative value, and if GZlibCompressor:format is G_ZLIB_COMPRESSOR_FORMAT_GZIP, the compressor will set the OS code of the gzip header to this value.

If the value is unset, zlib will set the OS code depending on the platform. This may be undesirable when reproducible output is desired. In that case setting the OS code to 3 (for Unix) is recommended.

Type:gint

Available since: 2.86

Default value-1
Getter methodg_zlib_compressor_get_os()
Setter methodg_zlib_compressor_set_os()

Flags

Readableyes
Writableyes
Constructno
Construct onlyno