Return the number of bytes the serialization of an object would occupy.

Synopsis

Declared in <serialize.h>

template<typename T>
uint64_t
GetSerializeSize(T const& t);

Return Value

The number of bytes its serialization would occupy.

Parameters

Name

Description

t

The object whose serialized size is measured.

Created with MrDocs