Function squiggles::serialize_path¶
Defined in File io.hpp
Function Documentation¶
-
int
squiggles
::
serialize_path
(std::ostream &out, std::vector<ProfilePoint> path)¶ Writes the path data to a CSV file.
- Return
0 if the path was serialized succesfully or -1 if an error occurred.
- Parameters
out
: The output stream to write the CSV data to. This is usually a file.path
: The path to serialized