Camel.MimeFilterYenc

g Camel.MimeFilter Camel.MimeFilter Camel.MimeFilterYenc Camel.MimeFilterYenc Camel.MimeFilter->Camel.MimeFilterYenc GObject.Object GObject.Object GObject.Object->Camel.MimeFilter

Subclasses:

None

Methods

Inherited:

Camel.MimeFilter (6), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (direction)

get_crc ()

get_pcrc ()

set_crc (crc)

set_state (state)

Virtual Methods

Inherited:

Camel.MimeFilter (3), GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

Camel.MimeFilter

r

Class Details

class Camel.MimeFilterYenc(**kwargs)
Bases:

Camel.MimeFilter

Abstract:

No

Structure:

Camel.MimeFilterYencClass

classmethod new(direction)
Parameters:

direction (Camel.MimeFilterYencDirection) – encode direction

Returns:

a new Camel.MimeFilterYenc object

Return type:

Camel.MimeFilter

Create a new Camel.MimeFilterYenc filter object.

get_crc()
Returns:

the computed crc or (#guint32) -1 on fail.

Return type:

int

Get the computed crc or (#guint32) -1 on fail.

get_pcrc()
Returns:

the computed Camel.part crc or (#guint32) -1 on fail.

Return type:

int

Get the computed Camel.part crc or (#guint32) -1 on fail.

set_crc(crc)
Parameters:

crc (int) – crc32 value

Sets the current crc32 value on the yEnc filter self to crc.

set_state(state)
Parameters:

state (int) – encode/decode state

Sets the current state of the yencoder/ydecoder