byteswap.h
来自「It s a tool designed to extract as much 」· C头文件 代码 · 共 19 行
H
19 行
#ifndef BYTEORDER_H#define BYTEORDER_H#include <sys/types.h>#ifndef BYTE_ORDER# error "Aiee: BYTE_ORDER not defined\n";#endif#define SWAP2(x) (((x>>8) & 0x00ff) |\ ((x<<8) & 0xff00))#define SWAP4(x) (((x>>24) & 0x000000ff) |\ ((x>>8) & 0x0000ff00) |\ ((x<<8) & 0x00ff0000) |\ ((x<<24) & 0xff000000))#endif /* BYTEORDER_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?