|
FastLED 3.9.15
|
Write encoded data with padding to destination buffer.
This method separates the concern of data preparation from memory format. It writes the encoded data with padding applied to a caller-provided span, allowing the caller to control the destination memory type (DRAM, DMA, etc.)
| dst | Destination buffer to write to (size determines target padding size) |
The destination buffer size must be >= current data size. If a padding generator is configured, it will be used to extend the data to fill the entire destination buffer.
Definition at line 62 of file data.cpp.hpp.
References fl::span< T, Extent >::data(), fl::fill(), FL_NOEXCEPT, fl::memcopy(), mEncodedData, and mPaddingGenerator.
Here is the call graph for this function: