Gsf.OutputGZip

g GObject.Object GObject.Object Gsf.Output Gsf.Output GObject.Object->Gsf.Output Gsf.OutputGZip Gsf.OutputGZip Gsf.Output->Gsf.OutputGZip

Subclasses:

None

Methods

Inherited:

Gsf.Output (18), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (sink)

Virtual Methods

Inherited:

Gsf.Output (3), GObject.Object (7)

Properties

Inherited:

Gsf.Output (6)

Name

Type

Flags

Short Description

deflate-level

int

r/w

The level of deflate compression used, zero meaning none and -1 meaning the zlib default

raw

bool

r/w/co

Whether to write compressed data with no header/tailer.

sink

Gsf.Output

r/w/co

Where the compressed data is written.

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Gsf.OutputGZip(**kwargs)
Bases:

Gsf.Output

Abstract:

No

classmethod new(sink)
Parameters:

sink (Gsf.Output) – The underlying data source.

Raises:

GLib.Error

Returns:

a new file or None.

Return type:

Gsf.Output

Adds a reference to sink.

Property Details

Gsf.OutputGZip.props.deflate_level
Name:

deflate-level

Type:

int

Default Value:

-1

Flags:

READABLE, WRITABLE

The level of deflate compression used, zero meaning none and -1 meaning the zlib default

Gsf.OutputGZip.props.raw
Name:

raw

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Whether to write compressed data with no header/tailer.

Gsf.OutputGZip.props.sink
Name:

sink

Type:

Gsf.Output

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Where the compressed data is written.