mtool.h

来自「一个在brew 平台下开发的摩托车程序源代码」· C头文件 代码 · 共 18 行

H
18
字号
#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 + =
减小字号Ctrl + -
显示快捷键?