Table of Contents

Class ZlibDecompressor

Namespace
Gio
Assembly
Gio-2.0.dll
public class ZlibDecompressor : Object, IObject, INotifyPropertyChanged, IDisposable, Converter, IHandle, GTypeProvider
Inheritance
ZlibDecompressor
Implements
Inherited Members

Constructors

ZlibDecompressor(bool, params ConstructArgument[])

protected ZlibDecompressor(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

ZlibDecompressor(IntPtr, bool)

protected ZlibDecompressor(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

FileInfoPropertyDefinition

public static readonly Property<FileInfo?, ZlibDecompressor> FileInfoPropertyDefinition

Field Value

Property<FileInfo, ZlibDecompressor>

FormatPropertyDefinition

public static readonly Property<ZlibCompressorFormat, ZlibDecompressor> FormatPropertyDefinition

Field Value

Property<ZlibCompressorFormat, ZlibDecompressor>

Properties

FileInfo

public FileInfo? FileInfo { get; }

Property Value

FileInfo

Format

public ZlibCompressorFormat Format { get; }

Property Value

ZlibCompressorFormat

Methods

Convert(Span<byte>, Span<byte>, ConverterFlags, out nuint, out nuint)

[Version("2.24")]
public ConverterResult Convert(Span<byte> inbuf, Span<byte> outbuf, ConverterFlags flags, out nuint bytesRead, out nuint bytesWritten)

Parameters

inbuf Span<byte>
outbuf Span<byte>
flags ConverterFlags
bytesRead nuint
bytesWritten nuint

Returns

ConverterResult

GetFileInfo()

[Version("2.26")]
public FileInfo? GetFileInfo()

Returns

FileInfo

GetGType()

public static Type GetGType()

Returns

Type

New(ZlibCompressorFormat)

[Version("2.24")]
public static ZlibDecompressor New(ZlibCompressorFormat format)

Parameters

format ZlibCompressorFormat

Returns

ZlibDecompressor

Reset()

[Version("2.24")]
public void Reset()