In many network protocols e.g. DHCP, the TLV format is used. Let's introduce a simple parser and builder of the data format.