TLV, type-length-value or Type length encoded.
VB6 SP6
I am looking for an example or documentation to turn a recordset (or any collection of string values) into a TLV string of data. Any links to docs or samples would be appreciated.
Here is what I need:
<total record size byte 1><total record size byte 2><field type 1><field lengh 1><field data><field type 2><field length 2><field data 2>....etc
0x0 0x49 0x1 0x8 Address1 0x2 0x8 Address2 0x3 0x8 Address3 0x4 0x8 Address4 0x5 0x8 Address5 0x6 0x4 City 0x7 0x6 Postal 0x8 0x8 Province 0x9 0x7 Country 0xA 0x8 Currency
FYI, I have searched the net and countless sites with no luck using the criteia in the first line of this thread. Even if you could suggest better criteria that would be great.
Thanks
zemp
VB6 SP6
I am looking for an example or documentation to turn a recordset (or any collection of string values) into a TLV string of data. Any links to docs or samples would be appreciated.
Here is what I need:
<total record size byte 1><total record size byte 2><field type 1><field lengh 1><field data><field type 2><field length 2><field data 2>....etc
0x0 0x49 0x1 0x8 Address1 0x2 0x8 Address2 0x3 0x8 Address3 0x4 0x8 Address4 0x5 0x8 Address5 0x6 0x4 City 0x7 0x6 Postal 0x8 0x8 Province 0x9 0x7 Country 0xA 0x8 Currency
FYI, I have searched the net and countless sites with no luck using the criteia in the first line of this thread. Even if you could suggest better criteria that would be great.
Thanks
zemp