MCPcopy Create free account
hub / github.com/Snapchat/Valdi / asStringView

Method asStringView

valdi_core/src/valdi_core/cpp/Utils/Bytes.cpp:71–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71std::string_view BytesView::asStringView() const {
72 return std::string_view(reinterpret_cast<const char*>(_data), _size);
73}
74
75bool BytesView::isStrictlyIdenticalTo(const BytesView& other) const {
76 return _source.get() == other._source.get() && _data == other._data && _size == other._size;

Callers 15

operator==Method · 0.80
storeMethod · 0.80
imageInfoFunction · 0.80
imageConvertFunction · 0.80
rewriteHeaderFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
addAssetArtifactFunction · 0.80
TESTFunction · 0.80
preCompileMethod · 0.80

Calls

no outgoing calls

Tested by 7

TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
addAssetArtifactFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64