emsApplication/applications/ems_datahubs/kutilities.h

9 lines
312 B
C
Raw Normal View History

2024-09-05 09:55:12 +08:00
#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();