MySQL 8.3.0
Source Code Documentation
mysql::serialization::Archive_binary_field_max_size_calculator< T, S > Struct Template Reference

helper structure created for partial specialization of get_max_size function of Archive_binary, default version More...

#include <archive_binary_field_max_size_calculator.h>

Static Public Member Functions

static constexpr std::size_t get_max_size ()
 Calculates maximum encoded size of the fixed-length integer and floating point fields. More...
 

Detailed Description

template<class T, Field_size S>
struct mysql::serialization::Archive_binary_field_max_size_calculator< T, S >

helper structure created for partial specialization of get_max_size function of Archive_binary, default version

Member Function Documentation

◆ get_max_size()

template<class T , Field_size S>
static constexpr std::size_t mysql::serialization::Archive_binary_field_max_size_calculator< T, S >::get_max_size ( )
inlinestaticconstexpr

Calculates maximum encoded size of the fixed-length integer and floating point fields.

Returns
maximum encoded byte length

The documentation for this struct was generated from the following file: