Lioncash
49bfd0c461
zstd_compression: Make use of std::span
Allows for the incoming data stream to be non-allocating.
5 years ago
Lioncash
1ee060ca0d
common/compression: Roll back std::span changes
Seems like all compilers don't support std::span yet.
6 years ago
Lioncash
df72480395
common: Make use of [[nodiscard]] where applicable
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.
6 years ago
Lioncash
c5bdccfecb
zstd_compression: Make use of std::span in interfaces
Allows condensing the data and size parameters into a single argument.
6 years ago
Lioncash
4620ed47a3
common/{lz4_compression, zstd_compression}: Add missing header guards
These two files were missing the #pragma once directive.
7 years ago
unknown
b4857e326f
common/zstd_compression: simplify decompression interface
7 years ago
unknown
72477731ed
common/zstd_compression: Add Zstandard wrapper
7 years ago