13#include <marvin/library/marvin_Literals.h>
29 void writeToCsv(
const std::string& path, std::span<T> data) {
30 std::stringstream stream;
31 for (
auto i = 0_sz; i < data.size(); ++i) {
33 if (i != data.size() - 1) {
37 const auto asStr = stream.str();
38 std::ofstream outStream{ path, std::ios::out };
Utility helper functions and classes.
Definition marvin_Utils.h:21
void writeToCsv(const std::string &path, std::span< T > data)
Definition marvin_Utils.h:29
bool readBinaryFile(const std::string &path, std::vector< char > &data)
std::optional< std::string > getCurrentExecutablePath()