gi-gio-2.0.14: Gio bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gio.Objects.ConverterInputStream

Contents

Description

Converter input stream implements InputStream and allows conversion of data of various types during reading.

As of GLib 2.34, ConverterInputStream implements PollableInputStream.

Synopsis

Exported types

Methods

getConverter

converterInputStreamGetConverter Source #

Arguments

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

converterStream: a ConverterInputStream

-> m Converter

Returns: the converter of the converter input stream

Gets the Converter that is used by converterStream.

Since: 2.24

new

converterInputStreamNew Source #

Arguments

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

baseStream: a InputStream

-> b

converter: a Converter

-> m ConverterInputStream

Returns: a new InputStream.

Creates a new converter input stream for the baseStream.

Properties

converter