def METHOD_NAME(self, name, code, length, value):
    if code != Eeprom._TLV_CODE_VENDOR_EXT:
        self.content_dict["0x{:X}".format(code)] = value.rstrip('\0')
    else:
        if value:
            value = value.rstrip('\0')
            if value:
                code = "0x{:X}".format(code)
                if code not in self.content_dict:
                    self.content_dict[code] = [value]
                else:
                    self.content_dict[code].append(value)