proxygen
Types-inl.h File Reference
#include <folly/Conv.h>
#include <folly/String.h>
#include <folly/io/Cursor.h>

Go to the source code of this file.

Classes

struct  fizz::detail::bits24
 
struct  fizz::detail::Sizer< U >
 
struct  fizz::detail::Sizer< Extension >
 
struct  fizz::detail::Sizer< CertificateEntry >
 
struct  fizz::detail::Writer< U >
 
struct  fizz::detail::WriterVector< N, T >
 
struct  fizz::detail::WriterVector< bits24, T >
 
struct  fizz::detail::Writer< Random >
 
struct  fizz::detail::Reader< U >
 
struct  fizz::detail::ReadVector< N, T >
 
struct  fizz::detail::ReadVector< bits24, T >
 
struct  fizz::detail::Reader< Random >
 
struct  fizz::detail::Reader< Extension >
 
struct  fizz::detail::Reader< CertificateEntry >
 

Namespaces

 fizz
 
 fizz::detail
 

Functions

template<class N >
size_t fizz::detail::getBufSize (const Buf &buf)
 
template<>
size_t fizz::detail::getBufSize< bits24 > (const Buf &buf)
 
template<class T >
size_t fizz::detail::getSize (const T &t)
 
template<class T >
void fizz::detail::checkWithin24bits (const typename std::enable_if< std::is_integral< T >::value &&!std::is_signed< T >::value, T >::type &value)
 
template<class T >
void fizz::detail::writeBits24 (T len, folly::io::Appender &out)
 
template<class T >
void fizz::detail::write (const T &in, folly::io::Appender &appender)
 
template<class N , class T >
void fizz::detail::writeVector (const std::vector< T > &data, folly::io::Appender &out)
 
void fizz::detail::writeBuf (const Buf &buf, folly::io::Appender &out)
 
template<>
void fizz::detail::writeBuf< bits24 > (const Buf &buf, folly::io::Appender &out)
 
template<>
void fizz::detail::write< Extension > (const Extension &extension, folly::io::Appender &out)
 
template<>
void fizz::detail::write< CertificateEntry > (const CertificateEntry &entry, folly::io::Appender &out)
 
uint32_t fizz::detail::readBits24 (folly::io::Cursor &cursor)
 
template<class N >
size_t fizz::detail::readBuf (Buf &buf, folly::io::Cursor &cursor)
 
template<>
size_t fizz::detail::readBuf< bits24 > (Buf &buf, folly::io::Cursor &cursor)
 
template<class T >
size_t fizz::detail::read (T &out, folly::io::Cursor &cursor)
 
template<class N , class T >
size_t fizz::detail::readVector (std::vector< T > &out, folly::io::Cursor &cursor)
 
template<>
Buf fizz::encode< ServerHello > (ServerHello &&shlo)
 
template<>
Buf fizz::encode< HelloRetryRequest > (HelloRetryRequest &&shlo)
 
template<>
Buf fizz::encode< EndOfEarlyData > (EndOfEarlyData &&)
 
template<>
Buf fizz::encode< EncryptedExtensions > (EncryptedExtensions &&extensions)
 
template<>
Buf fizz::encode< CertificateRequest > (CertificateRequest &&cr)
 
template<>
Buf fizz::encode< const CertificateMsg & > (const CertificateMsg &cert)
 
template<>
Buf fizz::encode< CertificateMsg & > (CertificateMsg &cert)
 
template<>
Buf fizz::encode< CertificateMsg > (CertificateMsg &&cert)
 
template<>
Buf fizz::encode< CompressedCertificate & > (CompressedCertificate &cc)
 
template<>
Buf fizz::encode< CompressedCertificate > (CompressedCertificate &&cc)
 
template<>
Buf fizz::encode< CertificateVerify > (CertificateVerify &&certVerify)
 
template<>
Buf fizz::encode< Alert > (Alert &&alert)
 
template<>
Buf fizz::encode< const ClientHello & > (const ClientHello &chlo)
 
template<>
Buf fizz::encode< ClientHello & > (ClientHello &chlo)
 
template<>
Buf fizz::encode< ClientHello > (ClientHello &&chlo)
 
template<>
Buf fizz::encode< Finished > (Finished &&fin)
 
template<>
Buf fizz::encode< NewSessionTicket > (NewSessionTicket &&nst)
 
Buf fizz::encodeHkdfLabel (HkdfLabel &&label, const std::string &hkdfLabelPrefix)
 
template<>
Buf fizz::encode< KeyUpdate > (KeyUpdate &&keyUpdate)
 
template<>
Buf fizz::encode< message_hash > (message_hash &&hash)
 
template<class T >
Buf fizz::encodeHandshake (T &&handshakeMsg)
 
template<>
ClientHello fizz::decode (folly::io::Cursor &cursor)
 
template<>
ServerHello fizz::decode (folly::io::Cursor &cursor)
 
template<>
EndOfEarlyData fizz::decode (folly::io::Cursor &)
 
template<>
EncryptedExtensions fizz::decode (folly::io::Cursor &cursor)
 
template<>
CertificateRequest fizz::decode (folly::io::Cursor &cursor)
 
template<>
CertificateMsg fizz::decode (folly::io::Cursor &cursor)
 
template<>
CompressedCertificate fizz::decode (folly::io::Cursor &cursor)
 
template<>
CertificateVerify fizz::decode (folly::io::Cursor &cursor)
 
template<>
NewSessionTicket fizz::decode< NewSessionTicket > (folly::io::Cursor &cursor)
 
template<>
Alert fizz::decode (folly::io::Cursor &cursor)
 
template<>
Finished fizz::decode< Finished > (std::unique_ptr< folly::IOBuf > &&buf)
 
template<>
KeyUpdate fizz::decode< KeyUpdate > (folly::io::Cursor &cursor)
 
template<class T >
T fizz::decode (std::unique_ptr< folly::IOBuf > &&buf)
 
template<typename T >
std::string fizz::enumToHex (T enumValue)