Gio.Converter

const Gio = imports.gi.Gio;

let converter = new Gio.Converter();
  

Gio.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.

Since 2.24

Prerequisites

Converter requires GObject.Object

Known Implementations

Converter is implemented by CharsetConverter, ZlibCompressor and ZlibDecompressor