removed unused function readDataFile/writeDataFile (#1456)

* removed unused function readDataFile/writeDataFile

* release notes
This commit is contained in:
Erik Fröjdh
2026-08-03 09:17:01 +02:00
committed by mazzol_a
parent c2b4007de3
commit 9b77aaf877
3 changed files with 5 additions and 93 deletions
-27
View File
@@ -11,37 +11,10 @@
namespace sls {
/**
* @param data array of data values
* @param nch number of channels
* @param offset start channel value
*/
int readDataFile(std::ifstream &infile, short int *data, int nch,
int offset = 0);
/**
* @param data array of data value
* @param nch number of channels
*/
int readDataFile(std::string fname, short int *data, int nch);
std::vector<char> readBinaryFile(const std::string &fname,
const std::string &errorPrefix);
/**
* @param nch number of channels
* @param data array of data values
* @param offset start channel number
*/
int writeDataFile(std::ofstream &outfile, int nch, short int *data,
int offset = 0);
/**
* @param nch number of channels
* @param data array of data values
*/
int writeDataFile(std::string fname, int nch, short int *data);
// mkdir -p path implemented by recursive calls
void mkdir_p(const std::string &path, std::string dir = "");