common/zstd_compression: simplify decompression interface

This commit is contained in:
unknown 2019-02-10 10:28:04 +01:00 committed by FreddyFunk
parent aa92da205e
commit b4857e326f
3 changed files with 12 additions and 14 deletions

View file

@ -34,11 +34,9 @@ std::vector<u8> CompressDataZSTDDefault(const u8* source, std::size_t source_siz
* Decompresses a source memory region with Zstandard and returns the uncompressed data in a vector.
*
* @param compressed the compressed source memory region.
* @param uncompressed_size the size in bytes of the uncompressed data.
*
* @return the decompressed data.
*/
std::vector<u8> DecompressDataZSTD(const std::vector<u8>& compressed,
std::size_t uncompressed_size);
std::vector<u8> DecompressDataZSTD(const std::vector<u8>& compressed);
} // namespace Common::Compression