working commit

This commit is contained in:
Олег Бородин
2026-04-29 18:49:19 +02:00
parent 47542499fc
commit bd4df1e3da
19 changed files with 250 additions and 283 deletions
+19
View File
@@ -0,0 +1,19 @@
#include <expected>
#include <string>
#include <cstring>
#include <iostream>
#include <format>
#include <msgheader.hpp>
int main(int argc, char** argv) {
MessageHeader primary(1021);
auto rawHeader = primary.Encode();
MessageHeader second;
second.Decode(rawHeader);
std::cout << std::format("{}\n", second.PacketSize());
assert
}