docs: def cVectorToPython(x):
      """
      Convert the c vector data into the correct python data type
      (numpy arrays or strings)
      :param x:
      :return:
      """
      if isinstance(x[0], bool):
          return numpy.frombuffer(x, dtype=numpy.bool).copy()
      elif isinstance(x[0], int):
          return numpy.frombuffer(x, dtype=numpy.int32).copy()
      elif isinstance(x[0], float):
          return numpy.frombuffer(x, dtype=numpy.float64).copy()
      elif isinstance(x[0].value, bytes):
          return [toPythonString(y) for y in x]