This method is the legacy way of decoding tlv data.
It will not properly decode multiple list of the same id.
Should the decoder encounter multiple instances of the same id, it will just concatenate the buffer data.
Parameters
buffer: Buffer
TLV8 data
Note: Please use decodeWithLists which properly decodes list elements.
This method is the legacy way of decoding tlv data. It will not properly decode multiple list of the same id. Should the decoder encounter multiple instances of the same id, it will just concatenate the buffer data.