📄 mtool.h
字号:
#ifndef _MTOOL_HEADER
#define _MTOOL_HEADER
#include "AEE.h"
class CMTool {
public:
static int BytesToIntLittleEndian(const byte *buf, int length); // buf 何磐 n官捞飘甫 Little endian栏肺 箭磊肺 函券茄促.
static void IntToBytesLittleEndian(int n, byte *buf, int BufferLen); // 箭磊甫 buf 俊 Little endian栏肺 敬促.
static uint32 ntohl(uint32 n); // 4byte Big endian 阑 Little endian 栏肺 函券茄促.
static int atoi(const byte *buf, int len);
private:
static int getByteSize(int n);
};
#endif // _MTOOL_HEADER
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -