gi-gio-2.0.24: Gio bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.Gio.Objects.ConverterOutputStream

Contents

Description

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

As of GLib 2.34, ConverterOutputStream implements PollableOutputStream.

Synopsis

Exported types

toConverterOutputStream :: (MonadIO m, IsConverterOutputStream o) => o -> m ConverterOutputStream Source #

Cast to ConverterOutputStream, for types for which this is known to be safe. For general casts, use castTo.

Methods

getConverter

converterOutputStreamGetConverter Source #

Arguments

:: (HasCallStack, MonadIO m, IsConverterOutputStream a) 
=> a

converterStream: a ConverterOutputStream

-> m Converter

Returns: the converter of the converter output stream

Gets the Converter that is used by converterStream.

Since: 2.24

new

converterOutputStreamNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsOutputStream a, IsConverter b) 
=> a

baseStream: a OutputStream

-> b

converter: a Converter

-> m ConverterOutputStream

Returns: a new OutputStream.

Creates a new converter output stream for the baseStream.

Properties

converter

No description available in the introspection data.

constructConverterOutputStreamConverter :: (IsConverterOutputStream o, IsConverter a) => a -> IO (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “converter” property. This is rarely needed directly, but it is used by new.

getConverterOutputStreamConverter :: (MonadIO m, IsConverterOutputStream o) => o -> m Converter Source #

Get the value of the “converter” property. When overloading is enabled, this is equivalent to

get converterOutputStream #converter