gsc-tool/include/xsk/utils/zlib.hpp

19 lines
406 B
C++
Raw Normal View History

// Copyright 2024 xensik. All rights reserved.
2023-01-23 17:31:08 -05:00
//
// Use of this source code is governed by a GNU GPLv3 license
// that can be found in the LICENSE file.
#pragma once
namespace xsk::utils
{
class zlib
{
public:
static auto compress(std::vector<u8> const& data) -> std::vector<u8>;
static auto decompress(std::vector<u8> const& data, u32 length) -> std::vector<u8>;
};
} // namespace xsk::utils