Zserio C++ runtime library  1.1.0
Built for Zserio 2.15.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 
6 #include "zserio/Types.h"
7 
8 namespace zserio
9 {
10 
19 int64_t getBitFieldLowerBound(size_t length, bool isSigned);
20 
29 uint64_t getBitFieldUpperBound(size_t length, bool isSigned);
30 
31 } // namespace zserio
32 
33 #endif // ifndef ZSERIO_BITFIELD_UTIL_H_INC
int64_t getBitFieldLowerBound(size_t length, bool isSigned)
uint64_t getBitFieldUpperBound(size_t length, bool isSigned)