module Gio::Converter

Overview

#GConverter 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.

Direct including types

Defined in:

lib/gi-crystal/src/auto/gio-2.0/converter.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.g_type : UInt64 #

Instance Method Detail

def convert(inbuf : Enumerable(UInt8), outbuf : Enumerable(UInt8), flags : Gio::ConverterFlags, bytes_read : UInt64, bytes_written : UInt64) : Gio::ConverterResult #

def reset : Nil #

abstract def to_unsafe #