An read-only view over an ASCII string (to avoid including Strings library) More...
#include <Span.h>
Public Member Functions | |
constexpr | SpanStringView (const char *string, size_t stringLength) |
template<size_t N> | |
constexpr | SpanStringView (const char(&charLiteral)[N]) |
template<int N> | |
bool | writeNullTerminated (char(&buffer)[N]) const |
Writes current string view over a sized char array buffer, adding a null terminator. More... | |
Public Attributes | |
Span< const char > | text |
An read-only view over an ASCII string (to avoid including Strings library)
|
inline |
Writes current string view over a sized char array buffer, adding a null terminator.