Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
compression.h
1// SPDX-FileCopyrightText: © 2023-2024 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
4#ifndef __UTILS_COMPRESSION_H__
5#define __UTILS_COMPRESSION_H__
6
7#include "utils/types.h"
8#include "utils/utf8_string.h"
9
14{
15
21QByteArray
22compress_to_base64_str (const QByteArray &src);
23
30decompress_string_from_base64 (const QByteArray &b64);
31
32}; // namespace zrythm::utils::compression
33
34#endif // __UTILS_COMPRESSION_H__
C string RAII wrapper.
Compression utilities.
Definition compression.h:14
CStringRAII decompress_string_from_base64(const QByteArray &b64)
Decompresses a NULL-terminated string.
QByteArray compress_to_base64_str(const QByteArray &src)
Compresses a NULL-terminated string.