src/core/Decompress.h

Decompress [Module]

Description

The Decompress module handles the restoration of compressed binary files back to their original XML format using the Byte Pair Encoding (BPE) algorithm.

Functions

int BPE_decompress(const std::string &inputPath, const std::string &outputPath)
Decompresses a BPE-encoded file.
Parameters
  • inputPath: Path to the compressed input file.
  • outputPath: Path where the decompressed XML will be saved.
Returns
Status code (0 on success).