code: def get_as_type(self, index, value_type):
          
          value = self[index]
          return TypeConverter.to_type(value_type, value)
docs: Converts array element into a value defined by specied typecode.
          If conversion is not possible it returns default value for the specified type.
  
          :param index: an index of element to get.
  
          :param value_type: the TypeCode that defined the type of the result
  
          :return: element value defined by the typecode or default if conversion is not supported.