Items are encoded into Key-Length-Value triplets, where key identifies the data, length specifies the data's length, and value is the data itself.
Data is encoded using Key-Length-Value structures, where a key denotes the data, length specifies its magnitude, and value holds the actual information.