Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
hex.cpp File Reference
#include <vector>
#include <sstream>
#include <iomanip>
#include "hex.h"
#include "Logger.h"
+ Include dependency graph for hex.cpp:

Functions

std::string hexToText (const uint8_t *buf, size_t buf_len, bool add_colons, bool add_0x)
std::string hexToText (const std::vector< uint8_t > &vector, bool add_colons, bool add_0x)
std::vector< uint8_t > textToHex (std::string buf)

Function Documentation

std::string hexToText ( const uint8_t *  buf,
size_t  buf_len,
bool  add_colons,
bool  add_0x 
)
std::string hexToText ( const std::vector< uint8_t > &  vector,
bool  add_colons,
bool  add_0x 
)
std::vector<uint8_t> textToHex ( std::string  buf)