emsApplication/applications/emsConfigurer/kutilities.h

20 lines
444 B
C
Raw Normal View History

2024-10-12 14:00:37 +08:00
#ifndef KUTILITIES_H
#define KUTILITIES_H
#pragma execution_character_set("utf-8")
#include <string>
class Kutilities
{
public:
Kutilities();
//获取当前精确到毫秒的时间戳返回字符串格式YYYY-MM-DD HH:MI:SS.MMM
static std::string get_current_timestamp();
// 函数用于将内存块转换为十六进制字符串
static std::string printHex(const void* data, size_t size);
};
#endif // KUTILITIES_H