enum Gio::ZlibCompressorFormat

Overview

Used to select the type of data format to use for #GZlibDecompressor and #GZlibCompressor.

Defined in:

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

Enum Members

Zlib = 0_u32

deflate compression with zlib header

Gzip = 1_u32

gzip file format

Raw = 2_u32

deflate compression with no header

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


[View source]

Instance Method Detail

def gzip? #

[View source]
def raw? #

[View source]
def zlib? #

[View source]