24 lines
344 B
C++
24 lines
344 B
C++
#ifndef PAYLOAD_H
|
|
#define PAYLOAD_H
|
|
|
|
#include <stdlib.h>
|
|
#include <vector>
|
|
|
|
class Payload
|
|
{
|
|
private:
|
|
std::vector<unsigned char> Data;
|
|
public:
|
|
size_t getSize();
|
|
unsigned char* getData();
|
|
|
|
void setData(std::vector<unsigned char>);
|
|
|
|
void push_char(unsigned char);
|
|
|
|
Payload();
|
|
Payload(std::vector<unsigned char>);
|
|
};
|
|
|
|
#endif /* PAYLOAD_H */
|