FastLED 3.9.15
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 188 of file async_log_queue.cpp.hpp.

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