Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
compression.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2023 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
10#ifndef __UTILS_COMPRESSION_H__
11#define __UTILS_COMPRESSION_H__
12
13#include "utils/types.h"
14
15#include <glib.h>
16
20char *
21compression_compress_to_base64_str (const char * src, GError ** error);
22
26char *
27compression_decompress_from_base64_str (const char * b64, GError ** error);
28
29#endif // __UTILS_COMPRESSION_H__
char * compression_decompress_from_base64_str(const char *b64, GError **error)
Decompresses a NULL-terminated string.
char * compression_compress_to_base64_str(const char *src, GError **error)
Compresses a NULL-terminated string.
Custom types.