FlashStringRefAdapter.hpp
Go to the documentation of this file.
Definition: FlashStringRefAdapter.hpp:14
FlashStringRefAdapter(const FlashString &str)
Definition: FlashStringRefAdapter.hpp:16
char * save(MemoryPool *pool) const
Definition: FlashStringRefAdapter.hpp:30
bool isNull() const
Definition: FlashStringRefAdapter.hpp:25
bool equals(const char *expected) const
Definition: FlashStringRefAdapter.hpp:20
size_t size() const
Definition: FlashStringRefAdapter.hpp:46
bool isStatic() const
Definition: FlashStringRefAdapter.hpp:51
const char * data() const
Definition: FlashStringRefAdapter.hpp:40
bool isNull() const
Indicates an invalid String, used for return value from lookups, etc.
Definition: ObjectBase.hpp:109
size_t length() const
Get the length of the content in elements.
Definition: Object.hpp:164
size_t read(size_t index, ElementType *buffer, size_t count) const
Read content into RAM.
Definition: Object.hpp:215
bool equals(const char *cstr, size_t len=0) const
Check for equality with a C-string.
size_t size() const
Get the number of bytes used to store the String.
Definition: String.hpp:180
Definition: FlashStringReader.hpp:10
FlashStringRefAdapter adaptString(const FlashString &str)
Definition: FlashStringRefAdapter.hpp:61