Zserio C++17 runtime library  0.5.0
Built for Zserio 2.17.0
BitFieldUtil.h
Go to the documentation of this file.
1 #ifndef ZSERIO_BITFIELD_UTIL_H_INC
2 #define ZSERIO_BITFIELD_UTIL_H_INC
3 
4 #include <cstddef>
5 #include <cstdint>
6 
7 namespace zserio
8 {
9 
18 int64_t getBitFieldLowerBound(size_t length, bool isSigned);
19 
28 uint64_t getBitFieldUpperBound(size_t length, bool isSigned);
29 
30 } // namespace zserio
31 
32 #endif // ifndef ZSERIO_BITFIELD_UTIL_H_INC
int64_t getBitFieldLowerBound(size_t length, bool isSigned)
uint64_t getBitFieldUpperBound(size_t length, bool isSigned)