ae.utils.gzip

ae.utils.gzip

Members

Enums

ZlibMode (from ae.utils.zlib)
enum ZlibMode via public import ae.utils.zlib : ZlibOptions, ZlibMode;

File format.

Functions

compress
Data[] compress(Data[] data, ZlibOptions options)

Compress data to Gzip.

compress
Data compress(Data input)
Undocumented in source. Be warned that the author may not have intended to support it.
crc32
uint crc32(Data[] data)

Calculate CRC32 from Data[]

deflate2gzip
Data[] deflate2gzip(Data[] compressed, uint dataCrc, size_t dataLength)

Add a Gzip header to deflated data.

gzipToRawDeflate
Data[] gzipToRawDeflate(Data[] data)

Strip thes Gzip header from data.

uncompress
Data[] uncompress(Data[] data)

Uncompress Gzip-compressed data.

uncompress
Data uncompress(Data input)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

ZlibOptions (from ae.utils.zlib)
struct ZlibOptions via public import ae.utils.zlib : ZlibOptions, ZlibMode;

Compression/decompression options.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <ae@cy.md> Simon Arlott