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

#include <Extensions-inl.h>

Public Member Functions

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

Detailed Description

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

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

Member Function Documentation

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

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

References fizz::PskIdentity::obfuscated_ticket_age, fizz::PskIdentity::psk_identity, and fizz::detail::read().

406  {
407  size_t len = 0;
408  len += readBuf<uint16_t>(out.psk_identity, cursor);
409  len += detail::read(out.obfuscated_ticket_age, cursor);
410  return len;
411  }
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: