Zserio C++ runtime library  1.0.0
Built for Zserio 2.13.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 
6 #include "zserio/Types.h"
7 
8 namespace zserio
9 {
19  uint32_t convertSizeToUInt32(size_t value);
20 
30  size_t convertUInt64ToSize(uint64_t value);
31 } // namespace zserio
32 
33 #endif // ZSERIO_SIZE_CONVERT_UTIL_H_INC
uint32_t convertSizeToUInt32(size_t value)
size_t convertUInt64ToSize(uint64_t value)