Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ assignData
Method
assignData
valdi_core/src/valdi_core/cpp/Utils/Bytes.cpp:20–22 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
18
}
19
20
void Bytes::assignData(const Byte* data, size_t size) {
21
assign(data, data + size);
22
}
23
24
BytesView::BytesView(Ref<RefCountable> source, const Byte* data, size_t size)
25
: _source(std::move(source)), _data(data), _size(size) {}
Callers
3
onMessage
Method · 0.80
fromCpp
Method · 0.80
fromCpp
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected