ZlibDecompressor

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

GZlibDecompressor is an implementation of iface@Gio.Converter that decompresses data compressed with zlib.

Skipped during bindings generation

  • method format: Property has no getter nor setter

Constructors

Link copied to clipboard
constructor(format: ZlibCompressorFormat)

Creates a new #GZlibDecompressor.

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val fileInfo: FileInfo?

A #GFileInfo containing the information found in the GZIP header of the data stream processed, or null if the header was not yet fully processed, is not present at all, or the compressor's #GZlibDecompressor:format property is not %G_ZLIB_COMPRESSOR_FORMAT_GZIP.

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

Functions

Link copied to clipboard
open fun convertBytes(bytes: <Error class: unknown class>): <Error class: unknown class><<Error class: unknown class>>

Applies @converter to the data in @bytes.

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

Retrieves the #GFileInfo constructed from the GZIP header data of compressed data processed by @compressor, or null if @decompressor's #GZlibDecompressor:format property is not %G_ZLIB_COMPRESSOR_FORMAT_GZIP, or the header data was not fully processed yet, or it not present in the data stream at all.

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.