A Discrete-Event Network Simulator
API
Namespaces | Functions
encode-decode.h File Reference
#include <string>

Go to the source code of this file.

Namespaces

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

Functions

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