satdump/src-core/common/detect_header.h
2023-05-07 20:44:22 +02:00

13 lines
198 B
C++

#pragma once
#include <string>
#include <cstdint>
struct HeaderInfo
{
bool valid = false;
uint64_t samplerate = 0;
std::string type;
};
HeaderInfo try_parse_header(std::string file);