directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Apache Directory Project Wiki] New: TLVPageInfo
Date Tue, 15 Feb 2005 19:59:52 GMT
   Date: 2005-02-15T11:59:52
   Editor: EmmanuelLecharny
   Wiki: Apache Directory Project Wiki
   Page: TLVPageInfo

   no comment

New Page:

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

View raw message