MCPcopy Create free account
hub / github.com/SmingHub/Sming / isNull

Method isNull

Sming/Wiring/WString.h:838–841  ·  view source on GitHub ↗

String is Null (invalid) by default, i.e. non-SSO and null buffer

Source from the content-addressed store, hash-verified

836
837 // String is Null (invalid) by default, i.e. non-SSO and null buffer
838 __forceinline bool isNull() const
839 {
840 return !sso.set && (ptr.buffer == nullptr);
841 }
842
843 // Get writeable buffer pointer
844 __forceinline char* buffer()

Callers 2

moveMethod · 0.45
WString.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected