aboutsummaryrefslogtreecommitdiff
path: root/src/common/zbic_compression.h
blob: c36a55938813e5f8a9859854e64f5d01f2fad3bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once

#include <span>
#include "common/common_types.h"

namespace Common::Compression {

[[nodiscard]] bool IsZBIC(std::span<const u8> src);

[[nodiscard]] int DecompressDataZBIC(std::span<u8> dst, std::span<const u8> src);

} // namespace Common::Compression