9    orig.durations = 
nullptr;
 
   15    for (
unsigned int i = 0U; i < orig.length; i++)
 
   16        data[i] = orig.durations[i];
 
   23        durations = rhs.durations;
 
   25        rhs.durations = 
nullptr;
 
   34    for (
unsigned int i = 0U; i < rhs.length; i++)
 
   35        data[i] = rhs.durations[i];
 
   48    for (
unsigned int i = 0U; i < length; i++) {
 
   52            stream.print((i & 1) ? 
'-' : 
'+');
 
   53        stream.print(durations[i], DEC);
 
uint16_t microseconds_t
Type for durations in micro seconds.
This class consists of a vector of durations.
void dump(Stream &stream, bool usingSigns=false) const
Prints the IrSequence on the stream provided.
static const IrSequence emptyInstance
static IrSequence * readFlash(const microseconds_t *flashData, size_t length)
Create an IrSequence from data in PROGMEM.
IrSequence()
Create an empty sequence.
IrSequence & operator=(const IrSequence &rhs)
Copy assignment.