CamelNullOutputStream: Camel Reference Manual

## CamelNullOutputStream CamelNullOutputStream |

## Functions

GOutputStream * | camel_null_output_stream_new ()
gsize | camel_null_output_stream_get_bytes_written ()
gboolean | camel_null_output_stream_get_ends_with_crlf ()

## Object Hierarchy

        GObject
        ╰── GOutputStream
            ╰── CamelNullOutputStream

## Description

## Functions

### camel_null_output_stream_new ()

    GOutputStream *
    camel_null_output_stream_new (void);

Creates a new "null" output stream.

#### Returns

a new GOutputStream

Since: 3.12

### camel_null_output_stream_get_bytes_written ()

    gsize
    camel_null_output_stream_get_bytes_written
                                   (CamelNullOutputStream *null_stream);

Gets the total number of bytes written to `null_stream` .

#### Parameters

null_stream | a CamelNullOutputStream |

#### Returns

total byte count

Since: 3.12

### camel_null_output_stream_get_ends_with_crlf ()

    gboolean
    camel_null_output_stream_get_ends_with_crlf
                                   (CamelNullOutputStream *null_stream);

#### Parameters

null_stream | a CamelNullOutputStream |

#### Returns

Whether the data being written to `null_stream` ended with CRLF.

Since: 3.30