code: def value(self):
          
          if type(self._value) is None:
              self._value = bytearray()
          opt_type = defines.OptionRegistry.LIST[self._number].value_type
          if opt_type == defines.INTEGER:
              if byte_len(self._value) > 0:
                  return int(self._value)
              else:
                  return defines.OptionRegistry.LIST[self._number].default
          return self._value
docs: Return the option value.
  
          :return: the option value in the correct format depending on the option