MCPcopy Create free account
hub / github.com/Snapchat/Valdi / operator==

Method operator==

valdi_core/src/valdi_core/cpp/Utils/Bytes.cpp:79–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79bool BytesView::operator==(const BytesView& other) const {
80 if (_size != other.size()) {
81 return false;
82 }
83
84 return asStringView() == other.asStringView();
85}
86
87bool BytesView::operator!=(const BytesView& other) const {
88 return !(*this == other);

Callers

nothing calls this directly

Calls 2

asStringViewMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected