- Byte
alias Byte = char
Undocumented in source.
- MZ_FREE
alias MZ_FREE = free
Undocumented in source.
- MZ_MALLOC
alias MZ_MALLOC = malloc
Undocumented in source.
- MZ_REALLOC
alias MZ_REALLOC = realloc
Undocumented in source.
- TDEFL_READ_UNALIGNED_WORD2
alias TDEFL_READ_UNALIGNED_WORD2 = TDEFL_READ_UNALIGNED_WORD
Undocumented in source.
- TINFL_MEMCPY
alias TINFL_MEMCPY = memcpy
Undocumented in source.
- TINFL_MEMSET
alias TINFL_MEMSET = memset
Undocumented in source.
- ZLIB_VERNUM
alias ZLIB_VERNUM = MZ_VERNUM
Undocumented in source.
- ZLIB_VERSION
alias ZLIB_VERSION = MZ_VERSION
Undocumented in source.
- ZLIB_VER_MAJOR
alias ZLIB_VER_MAJOR = MZ_VER_MAJOR
Undocumented in source.
- ZLIB_VER_MINOR
alias ZLIB_VER_MINOR = MZ_VER_MINOR
Undocumented in source.
- ZLIB_VER_REVISION
alias ZLIB_VER_REVISION = MZ_VER_REVISION
Undocumented in source.
- ZLIB_VER_SUBREVISION
alias ZLIB_VER_SUBREVISION = MZ_VER_SUBREVISION
Undocumented in source.
- Z_BEST_COMPRESSION
alias Z_BEST_COMPRESSION = MZ_BEST_COMPRESSION
Undocumented in source.
- Z_BEST_SPEED
alias Z_BEST_SPEED = MZ_BEST_SPEED
Undocumented in source.
- Z_BLOCK
alias Z_BLOCK = MZ_BLOCK
Undocumented in source.
- Z_BUF_ERROR
alias Z_BUF_ERROR = MZ_BUF_ERROR
Undocumented in source.
- Z_DATA_ERROR
alias Z_DATA_ERROR = MZ_DATA_ERROR
Undocumented in source.
- Z_DEFAULT_COMPRESSION
alias Z_DEFAULT_COMPRESSION = MZ_DEFAULT_COMPRESSION
Undocumented in source.
- Z_DEFAULT_STRATEGY
alias Z_DEFAULT_STRATEGY = MZ_DEFAULT_STRATEGY
Undocumented in source.
- Z_DEFAULT_WINDOW_BITS
alias Z_DEFAULT_WINDOW_BITS = MZ_DEFAULT_WINDOW_BITS
Undocumented in source.
- Z_DEFLATED
alias Z_DEFLATED = MZ_DEFLATED
Undocumented in source.
- Z_ERRNO
alias Z_ERRNO = MZ_ERRNO
Undocumented in source.
- Z_FILTERED
alias Z_FILTERED = MZ_FILTERED
Undocumented in source.
- Z_FINISH
alias Z_FINISH = MZ_FINISH
Undocumented in source.
- Z_FIXED
alias Z_FIXED = MZ_FIXED
Undocumented in source.
- Z_FULL_FLUSH
alias Z_FULL_FLUSH = MZ_FULL_FLUSH
Undocumented in source.
- Z_HUFFMAN_ONLY
alias Z_HUFFMAN_ONLY = MZ_HUFFMAN_ONLY
Undocumented in source.
- Z_MEM_ERROR
alias Z_MEM_ERROR = MZ_MEM_ERROR
Undocumented in source.
- Z_NEED_DICT
alias Z_NEED_DICT = MZ_NEED_DICT
Undocumented in source.
- Z_NO_COMPRESSION
alias Z_NO_COMPRESSION = MZ_NO_COMPRESSION
Undocumented in source.
- Z_NO_FLUSH
alias Z_NO_FLUSH = MZ_NO_FLUSH
Undocumented in source.
- Z_OK
alias Z_OK = MZ_OK
Undocumented in source.
- Z_PARAM_ERROR
alias Z_PARAM_ERROR = MZ_PARAM_ERROR
Undocumented in source.
- Z_PARTIAL_FLUSH
alias Z_PARTIAL_FLUSH = MZ_PARTIAL_FLUSH
Undocumented in source.
- Z_RLE
alias Z_RLE = MZ_RLE
Undocumented in source.
- Z_STREAM_END
alias Z_STREAM_END = MZ_STREAM_END
Undocumented in source.
- Z_STREAM_ERROR
alias Z_STREAM_ERROR = MZ_STREAM_ERROR
Undocumented in source.
- Z_SYNC_FLUSH
alias Z_SYNC_FLUSH = MZ_SYNC_FLUSH
Undocumented in source.
- Z_VERSION_ERROR
alias Z_VERSION_ERROR = MZ_VERSION_ERROR
Undocumented in source.
- adler32
alias adler32 = mz_adler32
Undocumented in source.
- alloc_func
alias alloc_func = mz_alloc_func
Undocumented in source.
- crc32
alias crc32 = mz_crc32
Undocumented in source.
- free_func
alias free_func = mz_free_func
Undocumented in source.
- inflate
alias inflate = mz_inflate
Undocumented in source.
- inflateEnd
alias inflateEnd = mz_inflateEnd
Undocumented in source.
- inflateInit
alias inflateInit = mz_inflateInit
Undocumented in source.
- inflateInit2
alias inflateInit2 = mz_inflateInit2
Undocumented in source.
- inflateReset
alias inflateReset = mz_inflateReset
Undocumented in source.
- internal_state
alias internal_state = mz_internal_state
Undocumented in source.
- intf
alias intf = int
Undocumented in source.
- mz_alloc_func
alias mz_alloc_func = void* function(void* opaque, size_t items, size_t size)
Undocumented in source.
- mz_bool
alias mz_bool = int
Undocumented in source.
- mz_free
alias mz_free = free
Undocumented in source.
- mz_free_func
alias mz_free_func = void function(void* opaque, void* address)
Undocumented in source.
- mz_int16
alias mz_int16 = short
Undocumented in source.
- mz_int64
alias mz_int64 = long
Undocumented in source.
- mz_realloc_func
alias mz_realloc_func = void* function(void* opaque, void* address, size_t items, size_t size)
Undocumented in source.
- mz_uint
alias mz_uint = uint
Undocumented in source.
- mz_uint16
alias mz_uint16 = ushort
Undocumented in source.
- mz_uint32
alias mz_uint32 = uint
Undocumented in source.
- mz_uint64
alias mz_uint64 = ulong
Undocumented in source.
- mz_uint8
alias mz_uint8 = ubyte
Undocumented in source.
- mz_ulong
alias mz_ulong = c_ulong
Undocumented in source.
- tdefl_flush
alias tdefl_flush = int
Undocumented in source.
- tdefl_put_buf_func_ptr
alias tdefl_put_buf_func_ptr = mz_bool function(const(void)* pBuf, int len, void* pUser)
Undocumented in source.
- tdefl_status
alias tdefl_status = int
Undocumented in source.
- tinfl_bit_buf_t
alias tinfl_bit_buf_t = mz_uint64
Undocumented in source.
- tinfl_put_buf_func_ptr
alias tinfl_put_buf_func_ptr = int function(const(void)* pBuf, int len, void* pUser)
Undocumented in source.
- tinfl_status
alias tinfl_status = int
Undocumented in source.
- uInt
alias uInt = uint
Undocumented in source.
- uLong
alias uLong = mz_ulong
Undocumented in source.
- uLongf
alias uLongf = uLong
Undocumented in source.
- uncompress
alias uncompress = mz_uncompress
Undocumented in source.
- uncompress2
alias uncompress2 = mz_uncompress2
Undocumented in source.
- voidp
alias voidp = void*
Undocumented in source.
- voidpc
alias voidpc = const(void)*
Undocumented in source.
- voidpf
alias voidpf = void*
Undocumented in source.
- zError
alias zError = mz_error
Undocumented in source.
- z_stream
alias z_stream = mz_stream
Undocumented in source.
- zlibVersion
alias zlibVersion = mz_version
Undocumented in source.
- MZ_MAX_int
int MZ_MAX_int(int a, int b)
Undocumented in source. Be warned that the author may not have intended to support it.
- MZ_MAX_mz_ulong
mz_ulong MZ_MAX_mz_ulong(mz_ulong a, mz_ulong b)
Undocumented in source. Be warned that the author may not have intended to support it.
- MZ_MAX_size_t
size_t MZ_MAX_size_t(size_t a, size_t b)
Undocumented in source. Be warned that the author may not have intended to support it.
- MZ_MAX_voidp
void* MZ_MAX_voidp(void* a, void* b)
Undocumented in source. Be warned that the author may not have intended to support it.
- MZ_MIN_int
int MZ_MIN_int(int a, int b)
Undocumented in source. Be warned that the author may not have intended to support it.
- MZ_MIN_size_t
size_t MZ_MIN_size_t(size_t a, size_t b)
Undocumented in source. Be warned that the author may not have intended to support it.
- MZ_MIN_uint
uint MZ_MIN_uint(uint a, uint b)
Undocumented in source. Be warned that the author may not have intended to support it.
- MZ_READ_LE16
ushort MZ_READ_LE16(const(void)* p)
Undocumented in source. Be warned that the author may not have intended to support it.
- MZ_READ_LE16
ushort MZ_READ_LE16(const(void)* p)
Undocumented in source. Be warned that the author may not have intended to support it.
- MZ_READ_LE32
uint MZ_READ_LE32(const(void)* p)
Undocumented in source. Be warned that the author may not have intended to support it.
- MZ_READ_LE32
uint MZ_READ_LE32(const(void)* p)
Undocumented in source. Be warned that the author may not have intended to support it.
- MZ_READ_LE64
ulong MZ_READ_LE64(const(void)* p)
Undocumented in source. Be warned that the author may not have intended to support it.
- TDEFL_READ_UNALIGNED_WORD
ushort TDEFL_READ_UNALIGNED_WORD(const(void)* p)
Undocumented in source. Be warned that the author may not have intended to support it.
- TDEFL_READ_UNALIGNED_WORD32
mz_uint32 TDEFL_READ_UNALIGNED_WORD32(const(mz_uint8)* p)
Undocumented in source. Be warned that the author may not have intended to support it.
- miniz_def_alloc_func
void* miniz_def_alloc_func(void* opaque, size_t items, size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
- miniz_def_free_func
void miniz_def_free_func(void* opaque, void* address)
Undocumented in source. Be warned that the author may not have intended to support it.
- miniz_def_realloc_func
void* miniz_def_realloc_func(void* opaque, void* address, size_t items, size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
- mz_adler32
mz_ulong mz_adler32(mz_ulong adler, const(ubyte)* ptr, size_t buf_len)
Undocumented in source. Be warned that the author may not have intended to support it.
- mz_compress
int mz_compress(ubyte* pDest, mz_ulong* pDest_len, const(ubyte)* pSource, mz_ulong source_len)
Single-call compression functions mz_compress() and mz_compress2():
Returns MZ_OK on success, or one of the error codes from mz_deflate() on failure.
- mz_compress2
int mz_compress2(ubyte* pDest, mz_ulong* pDest_len, const(ubyte)* pSource, mz_ulong source_len, int level)
Single-call compression functions mz_compress() and mz_compress2():
Returns MZ_OK on success, or one of the error codes from mz_deflate() on failure.
- mz_compressBound
mz_ulong mz_compressBound(mz_ulong source_len)
Undocumented in source. Be warned that the author may not have intended to support it.
- mz_crc32
mz_ulong mz_crc32(mz_ulong crc, mz_uint8* ptr, size_t buf_len)
Undocumented in source. Be warned that the author may not have intended to support it.
- mz_crc32
mz_ulong mz_crc32(mz_ulong crc, mz_uint8* ptr, size_t buf_len)
Undocumented in source. Be warned that the author may not have intended to support it.
- mz_deflate
int mz_deflate(mz_stream* pStream, int flush)
Undocumented in source. Be warned that the author may not have intended to support it.
- mz_deflateBound
mz_ulong mz_deflateBound(mz_stream* pStream, mz_ulong source_len)
Undocumented in source. Be warned that the author may not have intended to support it.
- mz_deflateEnd
int mz_deflateEnd(mz_stream* pStream)
Undocumented in source. Be warned that the author may not have intended to support it.
- mz_deflateInit
int mz_deflateInit(mz_stream* pStream, int level)
Undocumented in source. Be warned that the author may not have intended to support it.
- mz_deflateInit2
int mz_deflateInit2(mz_stream* pStream, int level, int method, int window_bits, int mem_level, int strategy)
Undocumented in source. Be warned that the author may not have intended to support it.
- mz_deflateReset
int mz_deflateReset(mz_stream* pStream)
Undocumented in source. Be warned that the author may not have intended to support it.
- mz_error
const(char)* mz_error(int err)
Undocumented in source. Be warned that the author may not have intended to support it.
- mz_free
void mz_free(void* p)
Undocumented in source. Be warned that the author may not have intended to support it.
- mz_inflate
int mz_inflate(mz_stream* pStream, int flush)
Undocumented in source. Be warned that the author may not have intended to support it.
- mz_inflate2
int mz_inflate2(mz_stream* pStream, int flush, int decomp_flags)
Undocumented in source. Be warned that the author may not have intended to support it.
- mz_inflateEnd
int mz_inflateEnd(mz_stream* pStream)
Undocumented in source. Be warned that the author may not have intended to support it.
- mz_inflateInit
int mz_inflateInit(mz_stream* pStream)
Undocumented in source. Be warned that the author may not have intended to support it.
- mz_inflateInit2
int mz_inflateInit2(mz_stream* pStream, int window_bits)
Undocumented in source. Be warned that the author may not have intended to support it.
- mz_inflateReset
int mz_inflateReset(mz_stream* pStream)
Undocumented in source. Be warned that the author may not have intended to support it.
- mz_uncompress
int mz_uncompress(ubyte* pDest, mz_ulong* pDest_len, const(ubyte)* pSource, mz_ulong source_len)
Undocumented in source. Be warned that the author may not have intended to support it.
- mz_uncompress2
int mz_uncompress2(ubyte* pDest, mz_ulong* pDest_len, const(ubyte)* pSource, mz_ulong* pSource_len)
Undocumented in source. Be warned that the author may not have intended to support it.
- mz_uncompress3
int mz_uncompress3(ubyte* pDest, mz_ulong* pDest_len, const(ubyte)* pSource, mz_ulong* pSource_len, int window_bits, bool trusted_input)
Same, but also specify window_bits, in case the stream has no header. This is useful for iPhone PNG.
Also allows to skip Adler32 check.
- mz_version
const(char)* mz_version()
Undocumented in source. Be warned that the author may not have intended to support it.
- tdefl_compress
tdefl_status tdefl_compress(tdefl_compressor* d, void* pIn_buf, size_t* pIn_buf_size, void* pOut_buf, size_t* pOut_buf_size, tdefl_flush flush)
Undocumented in source. Be warned that the author may not have intended to support it.
- tdefl_compress_buffer
tdefl_status tdefl_compress_buffer(tdefl_compressor* d, void* pIn_buf, size_t in_buf_size, tdefl_flush flush)
Undocumented in source. Be warned that the author may not have intended to support it.
- tdefl_compress_fast
mz_bool tdefl_compress_fast(tdefl_compressor* d)
Undocumented in source. Be warned that the author may not have intended to support it.
- tdefl_compress_mem_to_heap
void* tdefl_compress_mem_to_heap(void* pSrc_buf, size_t src_buf_len, size_t* pOut_len, int flags)
Undocumented in source. Be warned that the author may not have intended to support it.
- tdefl_compress_mem_to_mem
size_t tdefl_compress_mem_to_mem(void* pOut_buf, size_t out_buf_len, void* pSrc_buf, size_t src_buf_len, int flags)
Undocumented in source. Be warned that the author may not have intended to support it.
- tdefl_compress_mem_to_output
mz_bool tdefl_compress_mem_to_output(void* pBuf, size_t buf_len, tdefl_put_buf_func_ptr pPut_buf_func, void* pPut_buf_user, int flags)
Undocumented in source. Be warned that the author may not have intended to support it.
- tdefl_compress_normal
mz_bool tdefl_compress_normal(tdefl_compressor* d)
Undocumented in source. Be warned that the author may not have intended to support it.
- tdefl_compressor_alloc
tdefl_compressor* tdefl_compressor_alloc()
Undocumented in source. Be warned that the author may not have intended to support it.
- tdefl_compressor_free
void tdefl_compressor_free(tdefl_compressor* pComp)
Undocumented in source. Be warned that the author may not have intended to support it.
- tdefl_create_comp_flags_from_zip_params
mz_uint tdefl_create_comp_flags_from_zip_params(int level, int window_bits, int strategy)
Undocumented in source. Be warned that the author may not have intended to support it.
- tdefl_find_match
void tdefl_find_match(tdefl_compressor* d, mz_uint lookahead_pos, mz_uint max_dist, mz_uint max_match_len, mz_uint* pMatch_dist, mz_uint* pMatch_len)
Undocumented in source. Be warned that the author may not have intended to support it.
- tdefl_flush_output_buffer
tdefl_status tdefl_flush_output_buffer(tdefl_compressor* d)
Undocumented in source. Be warned that the author may not have intended to support it.
- tdefl_get_adler32
mz_uint32 tdefl_get_adler32(tdefl_compressor* d)
Undocumented in source. Be warned that the author may not have intended to support it.
- tdefl_get_prev_return_status
tdefl_status tdefl_get_prev_return_status(tdefl_compressor* d)
Undocumented in source. Be warned that the author may not have intended to support it.
- tdefl_init
tdefl_status tdefl_init(tdefl_compressor* d, tdefl_put_buf_func_ptr pPut_buf_func, void* pPut_buf_user, int flags)
Undocumented in source. Be warned that the author may not have intended to support it.
- tdefl_output_buffer_putter
mz_bool tdefl_output_buffer_putter(void* pBuf, int len, void* pUser)
Undocumented in source. Be warned that the author may not have intended to support it.
- tdefl_record_literal
void tdefl_record_literal(tdefl_compressor* d, mz_uint8 lit)
Undocumented in source. Be warned that the author may not have intended to support it.
- tdefl_record_match
void tdefl_record_match(tdefl_compressor* d, mz_uint match_len, mz_uint match_dist)
Undocumented in source. Be warned that the author may not have intended to support it.
- tinfl_clear_tree
void tinfl_clear_tree(tinfl_decompressor* r)
Undocumented in source. Be warned that the author may not have intended to support it.
- tinfl_decompress
tinfl_status tinfl_decompress(tinfl_decompressor* r, mz_uint8* pIn_buf_next, size_t* pIn_buf_size, mz_uint8* pOut_buf_start, mz_uint8* pOut_buf_next, size_t* pOut_buf_size, mz_uint32 decomp_flags)
Undocumented in source. Be warned that the author may not have intended to support it.
- tinfl_decompress_mem_to_callback
int tinfl_decompress_mem_to_callback(const(void)* pIn_buf, size_t* pIn_buf_size, tinfl_put_buf_func_ptr pPut_buf_func, void* pPut_buf_user, int flags)
Undocumented in source. Be warned that the author may not have intended to support it.
- tinfl_decompress_mem_to_heap
void* tinfl_decompress_mem_to_heap(void* pSrc_buf, size_t src_buf_len, size_t* pOut_len, int flags)
Undocumented in source. Be warned that the author may not have intended to support it.
- tinfl_decompress_mem_to_mem
size_t tinfl_decompress_mem_to_mem(void* pOut_buf, size_t out_buf_len, void* pSrc_buf, size_t src_buf_len, int flags)
Undocumented in source. Be warned that the author may not have intended to support it.
- tinfl_decompressor_alloc
tinfl_decompressor* tinfl_decompressor_alloc()
Undocumented in source. Be warned that the author may not have intended to support it.
- tinfl_decompressor_free
void tinfl_decompressor_free(tinfl_decompressor* pDecomp)
Undocumented in source. Be warned that the author may not have intended to support it.
- tinfl_get_adler32
uint tinfl_get_adler32(tinfl_decompressor* r)
Undocumented in source. Be warned that the author may not have intended to support it.
- tinfl_init
void tinfl_init(tinfl_decompressor* r)
Undocumented in source. Be warned that the author may not have intended to support it.