## GConverterOutputstream GConverterOutputstream — Converter Output Stream |

## Synopsis

    #include <gio/gio.h>

                        GConverterOutputStream;
    GOutputStream *     g_converter_output_stream_new       (GOutputStream *base_stream,
                                                             GConverter *converter);
    GConverter *        g_converter_output_stream_get_converter
                                                            (GConverterOutputStream *converter_stream);

## Object Hierarchy

      GObject
       +----GOutputStream
             +----GFilterOutputStream
                   +----GConverterOutputStream

## Properties

      "converter"                GConverter*           : Read / Write / Construct Only

## Description

Converter output stream implements GOutputStream and allows conversion of data of various types during reading.

## Details

### GConverterOutputStream

    typedef struct _GConverterOutputStream GConverterOutputStream;

An implementation of GFilterOutputStream that allows data conversion.

### g_converter_output_stream_new ()

    GOutputStream *     g_converter_output_stream_new       (GOutputStream *base_stream,
                                                             GConverter *converter);

Creates a new converter output stream for the `base_stream`.

`base_stream` : | a GOutputStream
`converter` : | a GConverter
Returns : | a new GOutputStream.

### g_converter_output_stream_get_converter ()

    GConverter *        g_converter_output_stream_get_converter
                                                            (GConverterOutputStream *converter_stream);

Gets the GConverter that is used by `converter_stream`.

`converter_stream` : | a GConverterOutputStream
Returns : | the converter of the converter output stream

Since 2.24

## Property Details

### The `"converter"` property

      "converter"                GConverter*           : Read / Write / Construct Only

The converter object.

## See Also

GOutputStream, GConverter