Table of Contents

Class ZlibCompressor

Namespace
Gio.Internal
Assembly
Gio-2.0.dll
public class ZlibCompressor
Inheritance
ZlibCompressor
Inherited Members

Methods

GetFileInfo(IntPtr)

Calls native method g_zlib_compressor_get_file_info. Version: 2.26

[Version("2.26")]
public static extern IntPtr GetFileInfo(IntPtr compressor)

Parameters

compressor IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetGType()

Calls native function g_zlib_compressor_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

New(ZlibCompressorFormat, int)

Calls native constructor g_zlib_compressor_new. Version: 2.24

[Version("2.24")]
public static extern IntPtr New(ZlibCompressorFormat format, int level)

Parameters

format ZlibCompressorFormat

Transfer ownership: None Nullable: False

level int

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetFileInfo(IntPtr, IntPtr)

Calls native method g_zlib_compressor_set_file_info. Version: 2.26

[Version("2.26")]
public static extern void SetFileInfo(IntPtr compressor, IntPtr fileInfo)

Parameters

compressor IntPtr

Transfer ownership: None Nullable: False

fileInfo IntPtr

Transfer ownership: None Nullable: True