diff options
Diffstat (limited to 'serialize/packbits-impl.cpp')
-rw-r--r-- | serialize/packbits-impl.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/serialize/packbits-impl.cpp b/serialize/packbits-impl.cpp new file mode 100644 index 00000000..b7a4eefc --- /dev/null +++ b/serialize/packbits-impl.cpp @@ -0,0 +1,11 @@ +#include "packbits-impl.hpp" +#include "compat/exception.hpp" + +namespace floormat::Pack_impl { + +void throw_on_read_nonzero() noexcept(false) +{ + throw std::runtime_error{"extra bits in pack_read()"}; +} + +} // namespace floormat::Pack_impl |