src/devices/emu/emu-encode-decode.h File Reference

#include <string>
Include dependency graph for emu-encode-decode.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ns3
 

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


Functions

std::string ns3::EmuBufferToString (uint8_t *buffer, uint32_t len)
 Convert a byte buffer to a string containing a hex representation of the buffer. Make the string pretty by adding a colon (':') between the hex.
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.
Generated on Thu Dec 3 14:06:57 2009 for NS-3 by  doxygen 1.6.3