gio.converter
Module for [Converter] interface
Types 2
interfaceConverter
[gio.converter.Converter] is an interface for streaming conversions.
[gio.converter.Converter] is implemented by objects that convert binary data in various ways. The conversion can be stateful and may fail at any place.
Some example conversions are: character set conversion, compression, decompression and regular expression replace.
Methods
gio.types.ConverterResult convert(ubyte[] inbuf, ubyte[] outbuf, gio.types.ConverterFlags flags, out size_t bytesRead, out size_t bytesWritten)This is the main operation used when converting data. It is to be called multiple times in a loop, and each time it will do some work, i.e. producing some output (in outbuf) or consuming some input...void reset()Resets all internal state in the converter, making it behave as if it was just created. If the converter has any internal state that would produce output then that output is lost.interfaceConverterGidBuilderImpl(T)