FastLED 3.9.15
Loading...
Searching...
No Matches

◆ StringHolder() [3/4]

fl::StringHolder::StringHolder ( const char * str,
size length )

Definition at line 31 of file string_holder.cpp.hpp.

32 : mData((char*)fl::malloc(length + 1))
34 , mCapacity(length + 1) {
36 mData[mLength] = '\0';
37}
size length() const FL_NOEXCEPT
void * memcpy(void *dest, const void *src, size_t n) FL_NOEXCEPT
void * malloc(size_t size)
Definition malloc.cpp.hpp:9

References length(), fl::malloc(), mCapacity, mData, fl::memcpy(), and mLength.

+ Here is the call graph for this function: