ocean.util.compress.c.zlib

D bindings to zlib compression library.

Needs -lz when linking.

Members

Aliases

gz_headerp
alias gz_headerp = gz_header*

See original's library documentation for details.

in_func
alias in_func = uint function(void*, ubyte**)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
out_func
alias out_func = int function(void*, ubyte*, uint)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
z_streamp
alias z_streamp = z_stream*

See original's library documentation for details.

zlib_version
alias zlib_version = zlibVersion

See original's library documentation for details.

Enums

Z_BINARY
anonymousenum Z_BINARY

See original's library documentation for details.

Z_DEFLATED
anonymousenum Z_DEFLATED

See original's library documentation for details.

Z_FILTERED
anonymousenum Z_FILTERED

See original's library documentation for details.

Z_NO_COMPRESSION
anonymousenum Z_NO_COMPRESSION

See original's library documentation for details.

Z_NO_FLUSH
anonymousenum Z_NO_FLUSH

See original's library documentation for details.

Z_OK
anonymousenum Z_OK

See original's library documentation for details.

Functions

adler32
uLong adler32(uLong adler, Bytef* buf, uInt len)

See original's library documentation for details.

adler32_combine
uLong adler32_combine(uLong adler1, uLong adler2, z_off_t len2)

See original's library documentation for details.

compress
int compress(Bytef* dest, uLongf* destLen, Bytef* source, uLong sourceLen)

See original's library documentation for details.

compress2
int compress2(Bytef* dest, uLongf* destLen, Bytef* source, uLong sourceLen, int level)

See original's library documentation for details.

compressBound
uLong compressBound(uLong sourceLen)

See original's library documentation for details.

crc32
uLong crc32(uLong crc, Bytef* buf, uInt len)

See original's library documentation for details.

crc32_combine
uLong crc32_combine(uLong crc1, uLong crc2, z_off_t len2)

See original's library documentation for details.

deflate
int deflate(z_streamp strm, int flush)

See original's library documentation for details.

deflateBound
uLong deflateBound(z_streamp strm, uLong sourceLen)

See original's library documentation for details.

deflateCopy
int deflateCopy(z_streamp dest, z_streamp source)

See original's library documentation for details.

deflateEnd
int deflateEnd(z_streamp strm)

See original's library documentation for details.

deflateInit
int deflateInit(z_streamp strm, int level)
Undocumented in source. Be warned that the author may not have intended to support it.
deflateInit2
int deflateInit2(z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy)
Undocumented in source. Be warned that the author may not have intended to support it.
deflateInit2_
int deflateInit2_(z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, const(char)* ver, int stream_size)

See original's library documentation for details.

deflateInit_
int deflateInit_(z_streamp strm, int level, const(char)* ver, int stream_size)

See original's library documentation for details.

deflateParams
int deflateParams(z_streamp strm, int level, int strategy)

See original's library documentation for details.

deflatePrime
int deflatePrime(z_streamp strm, int bits, int value)

See original's library documentation for details.

deflateReset
int deflateReset(z_streamp strm)

See original's library documentation for details.

deflateSetDictionary
int deflateSetDictionary(z_streamp strm, Bytef* dictionary, uInt dictLength)

See original's library documentation for details.

deflateSetHeader
int deflateSetHeader(z_streamp strm, gz_headerp head)

See original's library documentation for details.

deflateTune
int deflateTune(z_streamp strm, int good_length, int max_lazy, int nice_length, int max_chain)

See original's library documentation for details.

get_crc_table
uLongf* get_crc_table()

See original's library documentation for details.

gzclearerr
void gzclearerr(gzFile file)

See original's library documentation for details.

gzclose
int gzclose(gzFile file)

See original's library documentation for details.

gzdirect
int gzdirect(gzFile file)

See original's library documentation for details.

gzdopen
gzFile gzdopen(int fd, char* mode)

See original's library documentation for details.

gzeof
int gzeof(gzFile file)

See original's library documentation for details.

gzerror
char* gzerror(gzFile file, int* errnum)

See original's library documentation for details.

gzflush
int gzflush(gzFile file, int flush)

See original's library documentation for details.

gzgetc
int gzgetc(gzFile file)

See original's library documentation for details.

gzgets
char* gzgets(gzFile file, char* buf, int len)

See original's library documentation for details.

gzopen
gzFile gzopen(char* path, char* mode)

See original's library documentation for details.

gzprintf
int gzprintf(gzFile file, char* format, ...)

See original's library documentation for details.

gzputc
int gzputc(gzFile file, int c)

See original's library documentation for details.

gzputs
int gzputs(gzFile file, char* s)

See original's library documentation for details.

gzread
int gzread(gzFile file, voidp buf, uint len)

See original's library documentation for details.

gzrewind
int gzrewind(gzFile file)

See original's library documentation for details.

gzseek
z_off_t gzseek(gzFile file, z_off_t offset, int whence)

See original's library documentation for details.

gzsetparams
int gzsetparams(gzFile file, int level, int strategy)

See original's library documentation for details.

gztell
z_off_t gztell(gzFile file)

See original's library documentation for details.

gzungetc
int gzungetc(int c, gzFile file)

See original's library documentation for details.

gzwrite
int gzwrite(gzFile file, voidpc buf, uint len)

See original's library documentation for details.

inflate
int inflate(z_streamp strm, int flush)

See original's library documentation for details.

inflateBack
int inflateBack(z_streamp strm, in_func in_fn, void* in_desc, out_func out_fn, void* out_desc)

See original's library documentation for details.

inflateBackEnd
int inflateBackEnd(z_streamp strm)

See original's library documentation for details.

inflateBackInit
int inflateBackInit(z_streamp strm, int windowBits, ubyte* window)
Undocumented in source. Be warned that the author may not have intended to support it.
inflateBackInit_
int inflateBackInit_(z_streamp strm, int windowBits, ubyte* window, const(char)* ver, int stream_size)

See original's library documentation for details.

inflateCopy
int inflateCopy(z_streamp dest, z_streamp source)

See original's library documentation for details.

inflateEnd
int inflateEnd(z_streamp strm)

See original's library documentation for details.

inflateGetHeader
int inflateGetHeader(z_streamp strm, gz_headerp head)

See original's library documentation for details.

inflateInit
int inflateInit(z_streamp strm)
Undocumented in source. Be warned that the author may not have intended to support it.
inflateInit2
int inflateInit2(z_streamp strm, int windowBits)
Undocumented in source. Be warned that the author may not have intended to support it.
inflateInit2_
int inflateInit2_(z_streamp strm, int windowBits, const(char)* ver, int stream_size)

See original's library documentation for details.

inflateInit_
int inflateInit_(z_streamp strm, const(char)* ver, int stream_size)

See original's library documentation for details.

inflatePrime
int inflatePrime(z_streamp strm, int bits, int value)

See original's library documentation for details.

inflateReset
int inflateReset(z_streamp strm)

See original's library documentation for details.

inflateSetDictionary
int inflateSetDictionary(z_streamp strm, Bytef* dictionary, uInt dictLength)

See original's library documentation for details.

inflateSync
int inflateSync(z_streamp strm)

See original's library documentation for details.

inflateSyncPoint
int inflateSyncPoint(z_streamp z)

See original's library documentation for details.

uncompress
int uncompress(Bytef* dest, uLongf* destLen, Bytef* source, uLong sourceLen)

See original's library documentation for details.

zError
char* zError(int )

See original's library documentation for details.

zlibCompileFlags
uLong zlibCompileFlags()

See original's library documentation for details.

zlibVersion
char* zlibVersion()

See original's library documentation for details.

Static variables

ZLIB_VERNUM
uint ZLIB_VERNUM;

See original's library documentation for details.

ZLIB_VERSION
auto ZLIB_VERSION;

See original's library documentation for details.

Z_NULL
void* Z_NULL;

See original's library documentation for details.

Structs

gz_header
struct gz_header

See original's library documentation for details.

z_stream
struct z_stream
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta

License

Tango Dual License: 3-Clause BSD License / Academic Free License v3.0. See LICENSE_TANGO.txt for details.

Bear in mind this module provides bindings to an external library that has its own license, which might be more restrictive. Please check the external library license to see which conditions apply for linking.