|
enum | { WIRE_FORMAT_DEFAULT = -2,
WIRE_FORMAT_AUTODETECT = -1,
WIRE_FORMAT_NDNSIM = 0,
WIRE_FORMAT_CCNB = 1
} |
|
|
static Ptr< Packet > | FromInterest (Ptr< const Interest > interest, int8_t wireFormat=WIRE_FORMAT_DEFAULT) |
|
static Ptr< Interest > | ToInterest (Ptr< Packet > packet, int8_t type=WIRE_FORMAT_AUTODETECT) |
|
static Ptr< Packet > | FromData (Ptr< const Data > data, int8_t wireFormat=WIRE_FORMAT_DEFAULT) |
|
static Ptr< Data > | ToData (Ptr< Packet > packet, int8_t type=WIRE_FORMAT_AUTODETECT) |
|
static std::string | FromInterestStr (Ptr< const Interest > interest, int8_t wireFormat=WIRE_FORMAT_DEFAULT) |
|
static Ptr< Interest > | ToInterestStr (const std::string &wire, int8_t type=WIRE_FORMAT_AUTODETECT) |
|
static std::string | FromDataStr (Ptr< const Data > data, int8_t wireFormat=WIRE_FORMAT_DEFAULT) |
|
static Ptr< Data > | ToDataStr (const std::string &wire, int8_t type=WIRE_FORMAT_AUTODETECT) |
|
static std::string | FromName (Ptr< const Name > name, int8_t wireFormat=WIRE_FORMAT_DEFAULT) |
| Convert name to wire format.
|
|
static Ptr< Name > | ToName (const std::string &wire, int8_t wireFormat=WIRE_FORMAT_DEFAULT) |
| Convert name from wire format.
|
|
Definition at line 23 of file ndn-wire.h.
The documentation for this struct was generated from the following files: