9#ifndef TPGLIBS_TESTAPP_BINARYSIGNALREADER_HPP_
10#define TPGLIBS_TESTAPP_BINARYSIGNALREADER_HPP_
47 std::vector<T>
next(
size_t n);
59 std::streampos
tellg();
65 void seekg(std::streampos pos);
Simple binary file reader for integer types.
std::streampos tellg()
Get current file position.
~BinarySignalReader()=default
Destructor - closes the file.
std::vector< T > next(size_t n)
Read next chunk of data.
void seekg(std::streampos pos)
Seek to specific position.
bool eof()
Check if we've reached end of file.
BinarySignalReader(const std::string &filepath)
Constructor - opens the file for reading.