FastLED 3.9.15
Loading...
Searching...
No Matches
fl::StringHolder Class Reference

Detailed Description

Definition at line 106 of file str.h.

#include <str.h>

Public Member Functions

 StringHolder (const char *str)
 
 StringHolder (const char *str, fl::size length)
 
 StringHolder (const StringHolder &other)=delete
 
 StringHolder (fl::size length)
 
 ~StringHolder ()
 
fl::size capacity () const
 
bool copy (const char *str, fl::size len)
 
char * data ()
 
const char * data () const
 
void grow (fl::size newLength)
 
bool hasCapacity (fl::size newLength) const
 
fl::size length () const
 
StringHolderoperator= (const StringHolder &other)=delete
 

Private Attributes

fl::size mCapacity = 0
 
char * mData = nullptr
 
fl::size mLength = 0
 

The documentation for this class was generated from the following files: