struct zxc_seekable_s zxc_seekable
Opaque handle for a seekable ZXC archive.
zxc_seekable * zxc_seekable_open_file(FILE *f)
Opens a seekable archive from a FILE*.
int64_t zxc_stream_get_decompressed_size(FILE *f_in)
Reads the original size from a ZXC file's footers, without decoding.
int64_t zxc_stream_decompress(FILE *f_in, FILE *f_out, const zxc_decompress_opts_t *opts)
Decompresses one file stream into another.
int64_t zxc_stream_compress(FILE *f_in, FILE *f_out, const zxc_compress_opts_t *opts)
Compresses one file stream into another.
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.
Options for decompression.
What a frame's header and footer declare, read without decoding.
One-shot buffer compression and decompression.
Platform-specific symbol visibility macros.
Shared option structures for the ZXC compression APIs.
Seekable compression and random-access decompression API.