<div dir="ltr"><div><div>Hi Ali,<br><br>One way to get it using following API. <br><br><div style="margin-left:40px">std::to_string(interest.wireEncode().size());        // This will give you the string form of the size number. <br></div><br></div>Same way you can get the size of the data message.<br><br><div style="margin-left:40px">std::to_string(data->wireEncode().size()<br></div><br></div>/anil.<br><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 3, 2016 at 3:39 AM, Ali Marandi <span dir="ltr"><<a href="mailto:ali1marandi@gmail.com" target="_blank">ali1marandi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi !<br><br></div>I would like to get the size of outgoing interest messages, i.e., in "onOutgoingInterest". Could you please let me know the correct way of doing this ?<br><br></div>Thanks.<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">A<br></font></span></div>
<br>_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
<br></blockquote></div><br></div></div>