ZlibCompressor

open class ZlibCompressor(pointer: <Error class: unknown class><<Error class: unknown class>>) : Converter

#GZlibCompressor is an implementation of #GConverter that compresses data using zlib.

Skipped during bindings generation

  • method format: Property has no getter nor setter

  • method level: Property has no getter nor setter

Constructors

Link copied to clipboard
constructor(format: ZlibCompressorFormat, level: Int)

Creates a new #GZlibCompressor.

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open var fileInfo: FileInfo?

If set to a non-null #GFileInfo object, and #GZlibCompressor:format is %G_ZLIB_COMPRESSOR_FORMAT_GZIP, the compressor will write the file name and modification time from the file info to the GZIP header.

Link copied to clipboard
open override val gioConverterPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val gioZlibCompressorPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun getFileInfo(): FileInfo?

Returns the #GZlibCompressor:file-info property.

Link copied to clipboard
open fun reset()

Resets all internal state in the converter, making it behave as if it was just created. If the converter has any internal state that would produce output then that output is lost.

Link copied to clipboard
open fun setFileInfo(fileInfo: FileInfo? = null)

Sets @file_info in @compressor. If non-null, and @compressor's #GZlibCompressor:format property is %G_ZLIB_COMPRESSOR_FORMAT_GZIP, it will be used to set the file name and modification time in the GZIP header of the compressed data.