|
| static std::string & | bitOutput (char input, std::string &result) |
| | 将单个字符转换为其对应的 8 位二进制字符串。 更多...
|
| |
| static std::string & | bitOutput (const std::string &input, std::string &result) |
| | 将字符串中的每个字符依次转换为二进制位,并拼接为一个整体字符串。 更多...
|
| |
| static char & | bitOutput_bit (char input, const int pos, char &result) |
| | 获取字符 input 的从左向右第 pos 位(二进制)并返回 '1' 或 '0'。 更多...
|
| |
| static unsigned long & | bitStrToNumber (const std::string &input, unsigned long &result) |
| | 将 "01" 字符串(二进制字符串)转换为无符号整数。 更多...
|
| |
| static unsigned long & | bitToNumber (const std::string &input, unsigned long &result) |
| | 将字符串转换为二进制,再转换为对应数值。 更多...
|
| |
| static char & | toBit (const std::string &input, char &result) |
| | 将最多 8 位的 "01" 字符串压缩成 1 个字节(char)。 更多...
|
| |
| static std::string & | toBit (const std::string &input, std::string &result) |
| | 将任意长度的 "01" 字符串压缩为二进制数据,每 8 位为一个字节。 更多...
|
| |