boost::array< char, 16 > header;
string(header.begin(),header.end())
std::vector<uchar> body(atoi((string(header.begin(),header.end())).c_str()));
string headlength(std::to_string(buff.size()));
headlength.resize(16);
时间: 2024-12-13 13:21:09
boost::array< char, 16 > header;
string(header.begin(),header.end())
std::vector<uchar> body(atoi((string(header.begin(),header.end())).c_str()));
string headlength(std::to_string(buff.size()));
headlength.resize(16);