summaryrefslogtreecommitdiff
path: root/src/common/zstd_compression.h
AgeCommit message (Collapse)Author
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