23 explicit RawFrame(
const std::string& filename);
37 static auto read_one_frame(std::vector<char>& binary_data, std::ifstream& input_file) -> std::size_t;
auto read_one_frame() -> std::string_view
Read one frame of the binary data from a file specified by the constructor RawFrame(conststd::string&...
std::string input_filename_
Input binary file name.
std::vector< char > input_buffer_
internal binary data buffer
RawFrame()=default
Default Constructor. No memory allocation.
auto get_binary_data() const -> const auto &
Getter to the internal binary data used by the member function read_one_frame().
std::ifstream input_file_
Input binary file handler.