This commit is contained in:
Nav
2022-01-11 21:12:25 +00:00
parent 023b655145
commit d462358b1e
21 changed files with 128 additions and 23 deletions

View File

@@ -17,12 +17,19 @@ namespace Bloom::DebugServers::Gdb
class Packet
{
public:
Packet() = default;
explicit Packet(const std::vector<unsigned char>& rawPacket) {
this->init(rawPacket);
}
Packet() = default;
virtual ~Packet() = default;
Packet(const Packet& other) = default;
Packet(Packet&& other) = default;
Packet& operator = (const Packet& other) = default;
Packet& operator = (Packet&& other) = default;
[[nodiscard]] virtual std::vector<unsigned char> getData() const {
return this->data;
}