FastLED 3.9.15
Loading...
Searching...
No Matches

◆ assign()

void fl::bitset_dynamic::assign ( size_t n,
bool val )
inline

Definition at line 80 of file bitset_dynamic.h.

80 {
81 if (n > _size) {
82 resize(n);
83 }
84 if (val) {
85 for (uint32_t i = 0; i < _block_count; ++i) {
86 _blocks[i] = ~0;
87 }
88 } else {
89 reset();
90 }
91 }
void resize(uint32_t new_size)
void reset() noexcept
block_type * _blocks

References _block_count, _blocks, _size, reset(), and resize().

+ Here is the call graph for this function: