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

Method getMinimumSize

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

@brief Calculate the size needed for writeWithPadding() without allocating Returns the current data size without applying padding. The actual size after writeWithPadding() will be dst.size() (fills entire destination). @return Current size of encoded data (minimum required dst size)

Source from the content-addressed store, hash-verified

116 ///
117 /// @return Current size of encoded data (minimum required dst size)
118 size_t getMinimumSize() const FL_NOEXCEPT { return mEncodedData.size(); }
119
120 /// @brief Destructor with debug logging
121 ~ChannelData();

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected