A Discrete-Event Network Simulator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
emu-encode-decode.cc File Reference
#include <string>
#include <iostream>
#include <iomanip>
#include <sstream>
#include <stdint.h>
+ Include dependency graph for emu-encode-decode.cc:

Go to the source code of this file.


 Every class exported by the ns3 library is enclosed in the ns3 namespace.


std::string ns3::EmuBufferToString (uint8_t *buffer, uint32_t len)
 Convert a byte buffer to a string containing a hex representation of the buffer. More...
bool ns3::EmuStringToBuffer (std::string s, uint8_t *buffer, uint32_t *len)
 Convert string encoded by the inverse function (EmuBufferToString) back into a byte buffer. More...