Packet header fixes

This commit is contained in:
Dan Paulat 2022-08-16 23:33:55 -05:00
parent 12d8aaf8a6
commit b0baa4f336
17 changed files with 20 additions and 17 deletions

View file

@ -4,6 +4,7 @@
#include <cstdint>
#include <memory>
#include <optional>
namespace scwx
{
@ -26,7 +27,7 @@ public:
LinkedVectorPacket(LinkedVectorPacket&&) noexcept;
LinkedVectorPacket& operator=(LinkedVectorPacket&&) noexcept;
uint16_t packet_code() const;
uint16_t packet_code() const override;
uint16_t length_of_block() const;
std::optional<uint16_t> value_of_vector() const;