摘要:
ifstream fin("example.txt", ios::binary);fin.seekg(0, ios::end); // 设置指针到文件流尾部streampos ps = fin.tellg(); // 指针距... 阅读全文
摘要:
string bytesToHexString(const char* bytes, int len) { string result = ""; string temp = "0123456789ABCDEF"; int index = 0; for (int i = 0; i > 4) ... 阅读全文