CompressionUtility.h 363 B

12345678910111213
  1. #pragma once
  2. /// <summary>
  3. ///
  4. /// </summary>
  5. class CompressionUtility
  6. {
  7. public:
  8. static int CompressAsGZip(const void* input, size_t input_size, void** ppvOut, size_t& out_size);
  9. static int DecompressGZip(const void* input, size_t input_size, void** ppvOut, size_t& out_size);
  10. static int DecompressPKZip(const char* fn, void** ppvOut, size_t& out_size);
  11. };