Camel.StreamNull

g Camel.Stream Camel.Stream Camel.StreamNull Camel.StreamNull Camel.Stream->Camel.StreamNull GObject.GInterface GObject.GInterface Gio.Seekable Gio.Seekable GObject.GInterface->Gio.Seekable GObject.Object GObject.Object GObject.Object->Camel.Stream Gio.Seekable->Camel.Stream

Subclasses:

None

Methods

Inherited:

Camel.Stream (10), GObject.Object (37), Gio.Seekable (5)

Structs:

GObject.ObjectClass (5)

class

new ()

get_bytes_written ()

get_ends_with_crlf ()

Virtual Methods

Inherited:

Camel.Stream (5), GObject.Object (7), Gio.Seekable (5)

Properties

Inherited:

Camel.Stream (1)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

Camel.Stream

r

Class Details

class Camel.StreamNull(**kwargs)
Bases:

Camel.Stream

Abstract:

No

Structure:

Camel.StreamNullClass

classmethod new()
Returns:

a new Camel.StreamNull

Return type:

Camel.Stream

Returns a null stream. A null stream is always at eof, and always returns success for all reads and writes.

get_bytes_written()
Returns:

how many bytes had been written to the self since it was created or rewind to the beginning.

Return type:

int

New in version 3.24.

get_ends_with_crlf()
Returns:

Whether the data being written to self ended with CRLF.

Return type:

bool

New in version 3.30.