[Ndn-interest] Questions about jNDN

Thompson, Jeff jefft0 at remap.ucla.edu
Fri Aug 7 09:46:55 PDT 2015

These are not exposed in the API, as the API is abstracted from the encoding details which change frequently.

May I ask why your application needs to know, for example, the MetaInfo encoding length?  Maybe we can find a way to meet your application needs.  (The API provides some mechanism for manipulating TLV encodings.)

- Jeff T

From: ahmed abencherou <a.abencherou at gmail.com<mailto:a.abencherou at gmail.com>>
Date: Friday, August 7, 2015 at 9:36:00
To: Jeff Thompson <jefft0 at remap.ucla.edu<mailto:jefft0 at remap.ucla.edu>>
Cc: "ndn-interest at lists.cs.ucla.edu<mailto:ndn-interest at lists.cs.ucla.edu>" <ndn-interest at lists.cs.ucla.edu<mailto:ndn-interest at lists.cs.ucla.edu>>
Subject: Re: [Ndn-interest] Questions about jNDN

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<mailto: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:


- Jeff T


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

More information about the Ndn-interest mailing list