OpenVPN 3 Core Library
Loading...
Searching...
No Matches
binprefix.hpp File Reference
#include <algorithm>
#include <cstring>
#include <cstdint>
#include <openvpn/common/socktypes.hpp>
Include dependency graph for binprefix.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  openvpn
 

Functions

template<typename T >
std::enable_if< 4==sizeof(T), T >::type openvpn::bin_prefix (const unsigned char *data)
 
template<typename T >
std::enable_if< 8==sizeof(T), T >::type openvpn::bin_prefix (const unsigned char *data)
 
template<typename T >
openvpn::bin_prefix (const unsigned char *data, const size_t len)
 
template<typename T >
openvpn::bin_prefix_floor (const unsigned char *data, const size_t len, const T floor)