Add support for reading Kryoflux stream files.

This commit is contained in:
David Given
2019-02-14 21:44:23 +01:00
parent d157574c6a
commit 61d98073a7
14 changed files with 192 additions and 14 deletions

View File

@@ -22,6 +22,11 @@ public:
Fluxmap& appendIntervals(const std::vector<uint8_t>& intervals);
Fluxmap& appendIntervals(const uint8_t* ptr, size_t len);
Fluxmap& appendInterval(uint8_t interval)
{
return appendIntervals(&interval, 1);
}
nanoseconds_t guessClock() const;
std::vector<bool> decodeToBits(nanoseconds_t clock_period) const;