// Copyright (C) 2021 - Sebastien Alaiwan
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.

#pragma once

#include <cstdint>
#include <vector>

#include "base/span.h"

// e.g: 78 9C ..
std::vector<uint8_t> zlibDecompress(Span<const uint8_t> buffer);

// e.g: 1F 8B ..
std::vector<uint8_t> gzipDecompress(Span<const uint8_t> buffer);

