MCPcopy 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
20void Bytes::assignData(const Byte* data, size_t size) {
21 assign(data, data + size);
22}
23
24BytesView::BytesView(Ref<RefCountable> source, const Byte* data, size_t size)
25 : _source(std::move(source)), _data(data), _size(size) {}

Callers 3

onMessageMethod · 0.80
fromCppMethod · 0.80
fromCppMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected