Return the number of bytes the serialization of an object would occupy.
Declared in <serialize.h>
template<typename T>
uint64_t
GetSerializeSize(T const& t);
The number of bytes its serialization would occupy.
| Name | Description |
|---|---|
| t | The object whose serialized size is measured. |