Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bcndev/bytecoin
/ StringView
Method
StringView
src/common/StringView.hpp:21–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
19
constexpr static Size INVALID = std::numeric_limits<Size>::max();
20
21
StringView() : m_data(nullptr), m_size(0) {}
22
23
StringView(const Char *data, Size size) : m_data(data), m_size(size) {
24
// assert(m_data != nullptr || m_size == 0);
Callers
nothing calls this directly
Calls
2
data
Method · 0.45
size
Method · 0.45
Tested by
no test coverage detected