From 6bffb3418ab52a0fee296ed005de046b7aa285be Mon Sep 17 00:00:00 2001 From: Gallardo994 Date: Sat, 16 Mar 2024 07:32:41 +0400 Subject: [PATCH] Update segment.hpp --- imkcpp/include/segment.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/imkcpp/include/segment.hpp b/imkcpp/include/segment.hpp index 0004b94..20a64d8 100644 --- a/imkcpp/include/segment.hpp +++ b/imkcpp/include/segment.hpp @@ -92,6 +92,7 @@ namespace imkcpp { u32 xmit = 0; }; + // TODO: Should be used via serializer functions. /// SegmentData is used to store the payload of the segment. struct SegmentData final { std::vector data{}; @@ -130,6 +131,7 @@ namespace imkcpp { } }; + // TODO: Should be used via serializer functions. struct Segment final { static_assert(serializer::fixed_size() == 24, "Segment header is 24 bytes by default. Changes this assert if you know what you're doing.");