Encode 32-bit INTEGER 12 in TLV format?
solution:---
TLV is Tag-length-value encoding. Often it is better referred to by it's original name, type-length-value.
The first field is the "type" of data being processed, the second field specifies the "length" of the value, the third field contains a "length" amount of data representing the value for the "type".
Multiple pieces of data can be transmitted in the same message by appending more triplets to a previously existing message.
So to encode32 bit integer, the type is INTEGER, second firld contains the size 32 bit and third field contain the data 12.
So encoding is : INTEGER,32,12
Thank you sir .....
Get Answers For Free
Most questions answered within 1 hours.