userver: userver/compression/zstd.hpp Source File
Loading...
Searching...
No Matches
zstd.hpp
1#pragma once
2
3#include <string_view>
4
5#include <userver/compression/error.hpp>
6
7USERVER_NAMESPACE_BEGIN
8
9namespace compression::zstd {
10
11/// Decompresses the string.
12/// @throws DecompressionError
13std::string Decompress(std::string_view compressed, size_t max_size);
14
15} // namespace compression::zstd
16
17USERVER_NAMESPACE_END