Return to index

gzip functions

bool = gzip_compress(source_file, dest_file[, options_map])

top

Compress a file using gzip. Options: map(.overwrite true, .level int|string). Level aliases: "default", "none"/"no", "fast"/"speed", "best", "huffman".


[]uint8 = gzip_compress_bytes(data[, options_map])

top

Compress a byte array using gzip. Options: map(.level int|string). Level aliases: "default", "none"/"no", "fast"/"speed", "best", "huffman".


bool = gzip_decompress(source_file, dest_file[, options_map])

top

Decompress a gzip file. Options: map(.overwrite true).


[]uint8 = gzip_decompress_bytes(data)

top

Decompress a gzip-compressed byte array.