| 643 | } |
| 644 | |
| 645 | void saveVectorToFile( |
| 646 | const BaseVector* FOLLY_NONNULL vector, |
| 647 | const char* FOLLY_NONNULL filePath) { |
| 648 | std::ofstream outputFile(filePath, std::ofstream::binary); |
| 649 | saveVector(*vector, outputFile); |
| 650 | outputFile.close(); |
| 651 | } |
| 652 | |
| 653 | void saveStringToFile( |
| 654 | const std::string& content, |