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

#include <Extensions-inl.h>

Public Member Functions

template<class T >
size_t read (KeyShareEntry &out, folly::io::Cursor &cursor)
 

Detailed Description

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

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

Member Function Documentation

template<class T >
size_t fizz::detail::Reader< KeyShareEntry >::read ( KeyShareEntry out,
folly::io::Cursor cursor 
)
inline

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

References fizz::KeyShareEntry::group, fizz::KeyShareEntry::key_exchange, and fizz::detail::read().

378  {
379  size_t len = 0;
380  len += detail::read(out.group, cursor);
381  len += readBuf<uint16_t>(out.key_exchange, cursor);
382  return len;
383  }
size_t read(T &out, folly::io::Cursor &cursor)
Definition: Types-inl.h:258

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