|
size_t | size () const |
| Get the number of bytes used to store the String. More...
|
|
flash_string_t | data () const |
| Get a WString-compatible pointer to the flash data. More...
|
|
bool | equals (const char *cstr, size_t len, bool ignoreCase=false) const |
| Check for equality with a C-string. More...
|
|
bool | equalsIgnoreCase (const char *cstr, size_t len) const |
|
bool | equals (const char *cstr, bool ignoreCase=false) const |
|
template<typename T > |
bool | equalsIgnoreCase (const T &str) const |
|
bool | equals (const String &str, bool ignoreCase=false) const |
| Check for equality with another String. More...
|
|
template<typename T > |
bool | operator== (const T &str) const |
|
template<typename T > |
bool | operator!= (const T &str) const |
|
| operator WString () const |
|
bool | equals (const WString &str, bool ignoreCase=false) const |
|
StringPrinter | printer () const |
| Supports printing of large String objects. More...
|
|
size_t | printTo (Print &p) const |
|
| Object () |
| Creates a null object. More...
|
|
| Object (const Object &obj) |
| Copy constructor. More...
|
|
| Object (const Object &&obj)=delete |
|
| ~Object () |
|
Object & | operator= (const Object &other)=delete |
|
Object & | operator= (const Object &&other)=delete |
|
Iterator | begin () const |
|
Iterator | end () const |
|
constexpr const size_t | length () const |
| Get the length of the content in elements. More...
|
|
int | indexOf (const ValueType &value) const |
|
char | valueAt (unsigned index) const |
|
char | operator[] (unsigned index) const |
| Array operator[]. More...
|
|
size_t | elementSize () const |
|
DataPtrType | data () const |
|
size_t | read (size_t index, char *buffer, size_t count) const |
| Read content into RAM. More...
|
|
size_t | readFlash (size_t index, char *buffer, size_t count) const |
| Read content into RAM,using flashmem_read() More...
|
|
char | unsafeValueAt (const DataPtrType dataptr, unsigned index) const |
|
constexpr FSTR_NOINLINE const size_t | length () const |
| Get the length of the object data in bytes. More...
|
|
constexpr const size_t | size () const |
| Get the object data size in bytes. More...
|
|
bool | operator== (const ObjectBase &other) const |
|
template<class ObjectType > |
constexpr const ObjectType & | as () const |
| Cast to a different object type. More...
|
|
const uint8_t * | data () const |
| Get a pointer to the flash data. More...
|
|
size_t | read (size_t offset, void *buffer, size_t count) const |
| Read contents of a String into RAM. More...
|
|
size_t | readFlash (size_t offset, void *buffer, size_t count) const |
| Read contents of a String into RAM, using flashread() More...
|
|
constexpr const bool | isCopy () const |
|
constexpr const bool | isNull () const |
| Indicates an invalid String, used for return value from lookups, etc. More...
|
|
describes a counted string stored in flash memory