OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::BufferFormat::Hex< T > Class Template Reference

#include <buffmt.hpp>

Static Public Member Functions

static void write (Buffer &buf, T value)
 
static constexpr size_t max_length ()
 

Private Member Functions

 Hex (T &&value)
 
char next ()
 
bool is_zero () const
 

Private Attributes

value_
 

Detailed Description

template<typename T>
class openvpn::BufferFormat::Hex< T >

Definition at line 72 of file buffmt.hpp.

Constructor & Destructor Documentation

◆ Hex()

template<typename T >
openvpn::BufferFormat::Hex< T >::Hex ( T &&  value)
inlineprivate

Definition at line 97 of file buffmt.hpp.

Member Function Documentation

◆ is_zero()

template<typename T >
bool openvpn::BufferFormat::Hex< T >::is_zero ( ) const
inlineprivate

Definition at line 111 of file buffmt.hpp.

Here is the caller graph for this function:

◆ max_length()

template<typename T >
static constexpr size_t openvpn::BufferFormat::Hex< T >::max_length ( )
inlinestaticconstexpr

Definition at line 91 of file buffmt.hpp.

Here is the caller graph for this function:

◆ next()

template<typename T >
char openvpn::BufferFormat::Hex< T >::next ( )
inlineprivate

Definition at line 103 of file buffmt.hpp.

Here is the caller graph for this function:

◆ write()

template<typename T >
static void openvpn::BufferFormat::Hex< T >::write ( Buffer buf,
value 
)
inlinestatic

Definition at line 75 of file buffmt.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ value_

template<typename T >
T openvpn::BufferFormat::Hex< T >::value_
private

Definition at line 116 of file buffmt.hpp.


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