HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
inflate.hpp
1// Copyright Take Vos 2020.
2// Distributed under the Boost Software License, Version 1.0.
3// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
5#pragma once
6
7#include "../utility/module.hpp"
8#include "../byte_string.hpp"
9#include <span>
10
11namespace hi::inline v1 {
12
25bstring inflate(std::span<std::byte const> bytes, std::size_t &offset, std::size_t max_size = 0x0100'0000);
26
27} // namespace hi::inline v1
DOXYGEN BUG.
Definition algorithm.hpp:13
bstring inflate(std::span< std::byte const > bytes, std::size_t &offset, std::size_t max_size=0x0100 '0000)
Inflate compressed data using the deflate algorithm bytes should include at least 32 bit of trailer,...