[][src]Module miniz_oxide_c_api::lib_oxide

This module mainly contains functionality replicating the miniz higher level API.

Re-exports

pub use self::return_status::*;

Modules

return_status

Structs

StreamOxide
inflate_state
mz_stream

Inner stream state containing pointers to the used buffers and internal state.

Enums

StateTypeEnum

Enum to keep track of what type the internal state is when moving over the C API boundary.

mz_internal_state

Unused opaque pointer.

Traits

StateType

Trait used for states that can be carried by BoxedState.

Functions

def_alloc_func

Default allocation function using malloc.

def_free_func

Default free function using free.

mz_compress2_oxide
mz_deflate_end_oxide

Free the inner compression state.

mz_deflate_init2_oxide

Initialize the compressor with the requested parameters.

mz_deflate_init_oxide

Initialize the wrapped compressor with the requested level (0-10) and default settings.

mz_deflate_oxide
mz_deflate_reset_oxide

Reset the compressor, so it can be used to compress a new set of data.

mz_inflate_end_oxide
mz_inflate_init2_oxide
mz_inflate_init_oxide
mz_inflate_oxide
mz_uncompress2_oxide

Type Definitions

MZResult
mz_alloc_func

Signature of function used to allocate the compressor/decompressor structs.

mz_free_func

Signature of function used to free the compressor/decompressor structs.