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-10-11 03:35:27
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);