GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
gp_io_zlib.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later
2/*
3 * Copyright (C) 2009-2014 Cyril Hrubis <metan@ucw.cz>
4 */
5
11#ifndef LOADERS_GP_IO_ZLIB_H
12#define LOADERS_GP_IO_ZLIB_H
13
14#include <loaders/gp_io.h>
15
25gp_io *gp_io_zlib(gp_io *io, size_t comp_size);
26
32int gp_io_zlib_reset(gp_io *io, gp_io *sub_io, size_t comp_size);
33
34#endif /* LOADERS_GP_IO_ZLIB_H */
I/O abstraction for gfxprim loaders.
gp_io * gp_io_zlib(gp_io *io, size_t comp_size)
Create a Zlib RAW inflate stream on the top of the existing I/O stream.
int gp_io_zlib_reset(gp_io *io, gp_io *sub_io, size_t comp_size)
Repurposes existing Zlib stream for new decompression.
An I/O abstraction.
Definition gp_io.h:23