Zserio C++ runtime library  1.2.0
Built for Zserio 2.16.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 {
10 
20 uint32_t convertSizeToUInt32(size_t value);
21 
31 size_t convertUInt64ToSize(uint64_t value);
32 
33 } // namespace zserio
34 
35 #endif // ZSERIO_SIZE_CONVERT_UTIL_H_INC
uint32_t convertSizeToUInt32(size_t value)
size_t convertUInt64ToSize(uint64_t value)