FastLED 3.10.8
Loading...
Searching...
No Matches

◆ boundedStrlen()

template<fl::size DescriptorCount, fl::size ArenaSize>
fl::u16 fl::AsyncLogQueue< DescriptorCount, ArenaSize >::boundedStrlen ( const char * str,
fl::u16 maxLen )
staticprivate

Definition at line 189 of file async_log_queue.cpp.hpp.

189 {
190 fl::u16 len = 0;
191 while (len < maxLen && str[len] != '\0') {
192 len++;
193 }
194 return len;
195}
High-performance SPSC async log queue.

References fl::FL_NO_EXCEPT.

Referenced by push().

+ Here is the caller graph for this function: