[ndnSIM] Data Packet Payload

Marco Ulgelmo marco.ulgelmo at aol.com
Tue Jan 13 08:35:22 PST 2015


Let’s assume I create a Data Packet invoking the Packet (const std::string &buffer) constructor.  I’d like to know if there is a straightforward method to read a Data Packet’s payload. Otherwise, is it possible to read it by using the iterators provided in the Buffer class? Specifically i’d need to read the payload as a string.



More information about the ndnSIM mailing list