emsApplication/applications/ems_datahubs/kutilities.h

9 lines
312 B
C++

#pragma once
#include <string>
#include <zlib/zlib.h>
int CompressString(const char* in_str, size_t in_len, std::string& out_str, int level);
int DecompressString(const char* in_str, size_t in_len, std::string& out_str);
std::string printHex(const void* data, size_t size);
std::string get_current_timestamp();