Zserio C++17 runtime library  0.5.0
Built for Zserio 2.17.0
SizeConvertUtil.h
Go to the documentation of this file.
1 #ifndef ZSERIO_SIZE_CONVERT_UTIL_H_INC
2 #define ZSERIO_SIZE_CONVERT_UTIL_H_INC
3 
4 #include <cstddef>
5 #include <cstdint>
6 
7 namespace zserio
8 {
9 
19 uint32_t convertSizeToUInt32(size_t value);
20 
30 size_t convertUInt64ToSize(uint64_t value);
31 
32 } // namespace zserio
33 
34 #endif // ZSERIO_SIZE_CONVERT_UTIL_H_INC
uint32_t convertSizeToUInt32(size_t value)
size_t convertUInt64ToSize(uint64_t value)