#ifndef LISIBLE_PNG_DEFLATE_H #define LISIBLE_PNG_DEFLATE_H #include #include #include /// Decompresses zlib compressed data as defined by RFC 1950 /// /// @return A pointer to the decompressed data, the caller is responsible to /// deallocate it using free(). In case of error, NULL is returned. char *zlib_decompress(const uint8_t *compressed_data_buffer, const size_t compressed_data_length); #endif // LISIBLE_PNG_DEFLATE_H