Skip to content
makr-code edited this page Dec 21, 2025 · 1 revision

zstd_codec.cpp

Stand: 5. Dezember 2025
Version: 1.0.0
Kategorie: Src


Path: src/utils/zstd_codec.cpp

Purpose: ZSTD compression/decompression helper wrappers guarded by THEMIS_HAS_ZSTD.

Public functions / symbols:

  • ``
  • if (rsize == ZSTD_CONTENTSIZE_ERROR || rsize == ZSTD_CONTENTSIZE_UNKNOWN) {
  • std::vector<uint8_t> out(bound);
  • std::vector<uint8_t> out(capacity);
  • ZSTD_freeDCtx(dctx);

Notes / TODOs:

  • Document config flags and behavior for skipped MIME types and compression levels.

Clone this wiki locally