Template Function sdv::ser_size#
Defined in File serdes.h
Function Documentation#
-
template<typename T>
void sdv::ser_size(const T &rtValue, size_t &rnSize)# Return the size of type T in serialized form.
Remark
Dependable on the size value, padding is added to align data.
- Template Parameters:
T – Type of the variable.
- Parameters:
rtValue – [in] Reference to the variable.
rnSize – [inout] Reference to the variable containing the current size and increased by the size of the value.