#pragma once #include "RemotePeer.hpp" namespace drp::packet::info { /** * Represent the content of an info packet. * Contains information about the peer sending it. */ class InfoPacketData { public: [[nodiscard]] std::vector serialize() const; static InfoPacketData deserialize(std::vector& data); Peer peer; }; }