aboutsummaryrefslogtreecommitdiff
path: root/zenhttp/httpshared.h
diff options
context:
space:
mode:
Diffstat (limited to 'zenhttp/httpshared.h')
-rw-r--r--zenhttp/httpshared.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/zenhttp/httpshared.h b/zenhttp/httpshared.h
index dbbebb348..fbf35076b 100644
--- a/zenhttp/httpshared.h
+++ b/zenhttp/httpshared.h
@@ -17,6 +17,8 @@ struct CbPackageHeader
uint32_t Reserved2;
};
+static_assert(sizeof(CbPackageHeader) == 16);
+
static constinit uint32_t kCbPkgMagic = 0xaa77aacc;
struct CbAttachmentEntry
@@ -26,6 +28,8 @@ struct CbAttachmentEntry
IoHash AttachmentHash;
};
+static_assert(sizeof(CbAttachmentEntry) == 32);
+
std::vector<IoBuffer> FormatPackageMessage(const CbPackage& Data);
CbPackage ParsePackageMessage(IoBuffer Payload);