2024-05-08 13:27:23 +02:00
|
|
|
//protocol_utils.h
|
2024-05-08 10:24:32 +02:00
|
|
|
#ifndef MCPINGER_PROTOCOL_UTILS_H
|
|
|
|
#define MCPINGER_PROTOCOL_UTILS_H
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
std::vector<unsigned char> encodeVarint(int value);
|
2024-05-08 13:27:23 +02:00
|
|
|
|
|
|
|
std::vector<unsigned char> encodeString(const std::string &str);
|
2024-05-08 10:24:32 +02:00
|
|
|
|
|
|
|
#endif // MCPINGER_PROTOCOL_UTILS_H
|