[Ndn-interest] Questions about jNDN

ahmed abencherou a.abencherou at gmail.com
Fri Aug 7 09:36:34 PDT 2015


Thank you Jeff

But if I want to get the length of Name, MetaInfo or Signature TLVs in Data
packet not the size of the entire packet??



2015-08-07 18:23 GMT+02:00 Thompson, Jeff <jefft0 at remap.ucla.edu>:

> Hi Ahmed, See inline.
>
> I have two questions related to jNDN:
>
>    1.
>
>    Does the current version support Nack interest i.e. can I send a nack
>    interest whether the requested content does not exist ?
>
> No not yet,
>
>    1.
>
>    I want to get the length of each TLV in Data packet, I means the
>    number of bytes that type, length and value occupy. Does it provide a
>    function to get this ?
>
> You can get the size of the entire data packet TLV with:
>    data.wireEncode().size()
>
> Thanks,
> - Jeff T
>



-- 
ABENCHEROU Ahmed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20150807/7fa33788/attachment.html>


More information about the Ndn-interest mailing list