表格线识别通用库文档
载入中...
搜索中...
未找到
binary.hpp 文件参考
#include <vector>
#include "common/enum.h"
#include "common/macro.h"
#include "common/type.h"
binary.hpp 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

命名空间

namespace  cm
 

函数

bool cm::ReadBit (uint number, ushort bit)
 读取数字中特定位的值
 
uint cm::WriteBit (uint number, ushort bit, bool value)
 设置数字中特定位的值
 
std::vector< bytecm::IntToBytes (uint number, bool big_endian)
 将整数转换为字节数组
 
uint cm::BytesToInt (const std::vector< byte > &bytes, bool big_endian)
 将字节数组转换为整数