mirror of
https://github.com/SatDump/SatDump
synced 2026-08-13 17:47:30 -04:00
15 lines
316 B
C++
15 lines
316 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <cstdint>
|
|
#include "nlohmann/json.hpp"
|
|
|
|
struct HeaderInfo
|
|
{
|
|
bool valid = false;
|
|
uint64_t samplerate = 0;
|
|
std::string type;
|
|
};
|
|
|
|
HeaderInfo try_parse_header(std::string file);
|
|
void try_get_params_from_input_file(nlohmann::json ¶meters, std::string input_file);
|