MCPcopy Create free account
hub / github.com/S3N4T0R-0X0/PixelCode-Attack / recv_data

Function recv_data

payload.cpp:857–861  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

855}
856
857std::vector<uint8_t> recv_data(SOCKET sock) {
858 auto raw_length = recv_all(sock, 4);
859 uint32_t length = (raw_length[0] << 24) | (raw_length[1] << 16) | (raw_length[2] << 8) | raw_length[3];
860 return recv_all(sock, length);
861}
862
863
864std::vector<uint8_t> string_to_vector(const std::string& str) {

Callers 1

mainFunction · 0.85

Calls 1

recv_allFunction · 0.85

Tested by

no test coverage detected