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

#include <Extensions-inl.h>

Public Member Functions

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

Detailed Description

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

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

Member Function Documentation

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

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

References fizz::ServerName::hostname, fizz::ServerName::name_type, fizz::detail::read(), and folly::size().

482  {
483  size_t size = 0;
484  size += detail::read(name.name_type, cursor);
485  size += readBuf<uint16_t>(name.hostname, cursor);
486  return size;
487  }
const char * name
Definition: http_parser.c:437
constexpr auto size(C const &c) -> decltype(c.size())
Definition: Access.h:45
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: