ae.utils.zlib

Compress/decompress data using the zlib library.

Members

Aliases

ZlibDeflater
alias ZlibDeflater = ZlibProcess!true
Undocumented in source.
ZlibInflater
alias ZlibInflater = ZlibProcess!false
Undocumented in source.
compress
alias compress = ZlibDeflater.process
Undocumented in source.
uncompress
alias uncompress = ZlibInflater.process
Undocumented in source.

Classes

ZlibException
class ZlibException

Thrown on zlib errors.

Enums

ZlibMode
enum ZlibMode

File format.

Functions

compress
Data compress(Data input, int level)

Shorthand for compressing at a certain level.

Structs

ZlibOptions
struct ZlibOptions

Compression/decompression options.

ZlibProcess
struct ZlibProcess(bool COMPRESSING)

Implements a zlib compression or decompression process.

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>