You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by di...@incubator.apache.org on 2005/02/15 20:59:52 UTC

[Apache Directory Project Wiki] New: TLVPageInfo

   Date: 2005-02-15T11:59:52
   Editor: EmmanuelLecharny
   Wiki: Apache Directory Project Wiki
   Page: TLVPageInfo
   URL: http://wiki.apache.org/directory/TLVPageInfo

   no comment

New Page:

##language:en
##master-page:Asn1Home
##master-date:
== TLV Information ==
=== What are TLVs ? ===
The acronym TLV stands for '''Tag''', '''Length''' and '''Value'''. It's a way to encode a piece of information with a type, a length followed by the information itself. Two points must be known :
* The '''Value''' part may contents other '''TLVs'''. One can see '''TLVs''' as C structures, that can contain sub-structures.
* The '''Length''' part may not give the '''Value''' length : it is called an indefinite '''Length'''. Whatever, in this - not so frequent - case, the '''Value''' must end with a specfic terminator.

=== Exemple ===
Lest's begin with a simple example, without too many explainations :
[[Icon(TLVs.png)]]