mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Begin generating the Brother bitstream and convert it to a fluxmap.
This commit is contained in:
@@ -19,12 +19,14 @@ public:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Fluxmap& appendIntervals(std::vector<uint8_t>& intervals);
|
||||
Fluxmap& appendIntervals(const std::vector<uint8_t>& intervals);
|
||||
Fluxmap& appendIntervals(const uint8_t* ptr, size_t len);
|
||||
|
||||
nanoseconds_t guessClock() const;
|
||||
std::vector<bool> decodeToBits(nanoseconds_t clock_period) const;
|
||||
|
||||
Fluxmap& appendBits(const std::vector<bool>& bits, nanoseconds_t clock);
|
||||
|
||||
private:
|
||||
nanoseconds_t _duration = 0;
|
||||
int _ticks = 0;
|
||||
|
||||
Reference in New Issue
Block a user