Class

CamelNullOutputStream

Description [src]

class Camel.NullOutputStream : Gio.OutputStream
{
  CamelNullOutputStreamPrivate* priv
}

Null output stream.

CamelNullOutputStream is analogous to writing to /dev/null, except it counts the total number of bytes written to it. This is primarily useful for determining the final size of some outgoing data, especially if using filters on the output stream.

Hierarchy

hierarchy this CamelNullOutputStream ancestor_0 GOutputStream ancestor_0--this ancestor_1 GObject ancestor_1--ancestor_0

Constructors

camel_null_output_stream_new

Creates a new “null” output stream.

since: 3.12

Instance methods

camel_null_output_stream_get_bytes_written

Gets the total number of bytes written to null_stream.

since: 3.12

camel_null_output_stream_get_ends_with_crlf
No description available.

since: 3.30

Methods inherited from GOutputStream (31)

Please see GOutputStream for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct CamelNullOutputStreamClass {
  GOutputStreamClass parent_class;
  gpointer reserved;
  
}

No description available.

Class members
parent_class: GOutputStreamClass

No description available.

reserved: gpointer

No description available.