struct zxc_cctx_s zxc_cctx
Opaque reusable compression context (see zxc_create_cctx).
struct zxc_dctx_s zxc_dctx
Opaque reusable decompression context (see zxc_create_dctx).
struct zxc_seekable_s zxc_seekable
Opaque handle for a seekable ZXC archive.
int64_t zxc_stream_decompress(FILE *f_in, FILE *f_out, const zxc_dctx *cfg)
Decompresses one file stream into another.
zxc_seekable * zxc_seekable_open_file(FILE *f)
Opens a seekable archive from a FILE*.
int64_t zxc_stream_compress(FILE *f_in, FILE *f_out, const zxc_cctx *cfg)
Compresses one file stream into another.
int64_t zxc_stream_get_decompressed_size(FILE *f_in)
Reads the original size from a ZXC file's footers, without decoding.
int zxc_stream_get_frame_info(FILE *f_in, zxc_frame_info_t *info, size_t info_size)
Reads a file's frame header and footer, without decoding.
int zxc_stream_get_last_frame_info(FILE *f_in, uint64_t end, zxc_frame_info_t *info, size_t info_size)
Reads the frame that ends at offset end of a file, without decoding.
What a frame's header and footer declare, read without decoding.
One-shot buffer compression and decompression.
Platform-specific symbol visibility macros.
Compression and decompression parameters.
Seekable compression and random-access decompression API.