[ndnSIM] How to print data size?

Spyridon (Spyros) Mastorakis spiros.mastorakis at gmail.com
Wed Feb 4 21:17:28 PST 2015


you may use the wireEncode method described here:


and then use the size method described here to get the size of the data packet:


Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/
Internet Research Laboratory
PhD Computer Science

> On Feb 4, 2015, at 8:32 PM, 최원준 <wonjunchoi001 at gmail.com> wrote:
> Hello.
> I want to know how much consumer received data.
> How can I print the size of data?
> I could get the sequence by contentObject->getName().at(-1).toSequenceNumber()
> but the sequence is not in order from consumer. 
> Wonjun, Choi
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

More information about the ndnSIM mailing list