MCPcopy Create free account
hub / github.com/FastLED/FastLED / setPaddingGenerator

Method setPaddingGenerator

src/fl/channels/data.h:95–97  ·  view source on GitHub ↗

@brief Set the padding generator for this channel @param generator Function that writes data with padding to destination (nullptr for default left-padding)

Source from the content-addressed store, hash-verified

93 /// @brief Set the padding generator for this channel
94 /// @param generator Function that writes data with padding to destination (nullptr for default left-padding)
95 void setPaddingGenerator(PaddingGenerator generator) FL_NOEXCEPT {
96 mPaddingGenerator = fl::move(generator);
97 }
98
99 /// @brief Write encoded data with padding to destination buffer
100 ///

Callers 1

FL_TEST_FILEFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected