Routines to serialize/deserialize NDN Data packet in ccnb format. More...
#include <ccnb.h>
Public Member Functions | |
Data (Ptr< ndn::Data > data) | |
Ptr< ndn::Data > | GetData () |
virtual TypeId | GetInstanceTypeId (void) const |
virtual void | Print (std::ostream &os) const |
virtual uint32_t | GetSerializedSize (void) const |
virtual void | Serialize (Buffer::Iterator start) const |
virtual uint32_t | Deserialize (Buffer::Iterator start) |
Static Public Member Functions | |
static Ptr< Packet > | ToWire (Ptr< const ndn::Data > data) |
static Ptr< ndn::Data > | FromWire (Ptr< Packet > packet) |
static TypeId | GetTypeId (void) |
Routines to serialize/deserialize NDN Data packet in ccnb format.