summaryrefslogtreecommitdiff
path: root/src/common/zstd_compression.h
AgeCommit message (Collapse)Author
2022-04-23general: Convert source file copyright comments over to SPDXMorph
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2021-05-24zstd_compression: Make use of std::spanLioncash
Allows for the incoming data stream to be non-allocating.
2020-08-15common/compression: Roll back std::span changesLioncash
Seems like all compilers don't support std::span yet.
2020-08-15common: Make use of [[nodiscard]] where applicableLioncash
Now that clang-format makes [[nodiscard]] attributes format sensibly, we can apply them to several functions within the common library to allow the compiler to complain about any misuses of the functions.
2020-07-25zstd_compression: Make use of std::span in interfacesLioncash
Allows condensing the data and size parameters into a single argument.
2019-04-15common/{lz4_compression, zstd_compression}: Add missing header guardsLioncash
These two files were missing the #pragma once directive.
2019-03-29common/zstd_compression: simplify decompression interfaceunknown
2019-03-29common/zstd_compression: Add Zstandard wrapperunknown