MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / bytesIncludingTerminator

Function bytesIncludingTerminator

Libraries/Memory/String.h:73–73  ·  view source on GitHub ↗

@brief Access current string content as read-only null-terminated `const char*` @return A null terminated `const char*`

Source from the content-addressed store, hash-verified

71 /// @brief Access current string content as read-only null-terminated `const char*`
72 /// @return A null terminated `const char*`
73 [[nodiscard]] const char* bytesIncludingTerminator() const { return data.data(); }
74
75 /// @brief Check if String is empty
76 /// @return `true` if String is empty

Callers

nothing calls this directly

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected