proxygen
fizz::detail::Sizer< KeyShareEntry > Struct Template Reference

#include <Extensions-inl.h>

Public Member Functions

template<class T >
size_t getSize (const KeyShareEntry &share)
 

Detailed Description

template<>
struct fizz::detail::Sizer< KeyShareEntry >

Definition at line 396 of file Extensions-inl.h.

Member Function Documentation

template<class T >
size_t fizz::detail::Sizer< KeyShareEntry >::getSize ( const KeyShareEntry share)
inline

Definition at line 398 of file Extensions-inl.h.

References fizz::KeyShareEntry::key_exchange.

398  {
399  return sizeof(NamedGroup) + getBufSize<uint16_t>(share.key_exchange);
400  }
PUSHMI_INLINE_VAR constexpr detail::share_fn< TN... > share
Definition: share.h:53
NamedGroup
Definition: Types.h:302

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