summaryrefslogtreecommitdiffhomepage
path: root/serialize/packbits-write.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-15 09:33:30 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-15 09:33:30 +0100
commit6c30d003dfe391e186cc6e08bb00ec99532e5545 (patch)
treedb8ace478a39dfde41eb3930fd842f212eca6d13 /serialize/packbits-write.cpp
parent152f9ef5feff7ea41c647e004f6e98082abf4b1c (diff)
a
Diffstat (limited to 'serialize/packbits-write.cpp')
-rw-r--r--serialize/packbits-write.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/serialize/packbits-write.cpp b/serialize/packbits-write.cpp
new file mode 100644
index 00000000..0b4fb4f1
--- /dev/null
+++ b/serialize/packbits-write.cpp
@@ -0,0 +1,11 @@
+#include "packbits-write.hpp"
+
+namespace floormat::detail_Pack_output {
+
+using u32 = uint32_t;
+using u8 = uint8_t;
+
+template u32 write_(output<u32, 32>, output_field<u32, 1>);
+static_assert(output<u32, 32>::next<1>::Capacity == 31);
+
+} // namespace floormat::detail_Pack_output