Function liberate::serialization::uleb128_serialized_size

Function Documentation

inline std::size_t liberate::serialization::uleb128_serialized_size(::liberate::types::varint const &value)

Actual ULEB128 serialized size of a varint. Note that this function performs much of the steps of encoding, except for writing to a buffer, and is not without cost.

Parameters

value[in] A varint value.

Returns

its encoded size.