[llvm] [llvm] Add API to get decompressed size of a zstd compressed buffer. (PR #107020)

Udit Kumar Agarwal via llvm-commits llvm-commits at lists.llvm.org
Mon May 19 15:10:33 PDT 2025


================
@@ -224,6 +224,20 @@ Error zstd::decompress(ArrayRef<uint8_t> Input,
   return E;
 }
 
+Error zstd::getDecompressedSize(ArrayRef<uint8_t> Input,
----------------
uditagarwal97 wrote:

Applied in https://github.com/llvm/llvm-project/pull/107020/commits/c9046d7b10ec896ab3b6bb9a7f6b5452f62feb4c

https://github.com/llvm/llvm-project/pull/107020


More information about the llvm-commits mailing list