Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ assignVec
Method
assignVec
valdi_core/src/valdi_core/cpp/Utils/Bytes.cpp:15–18 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
13
Bytes::~Bytes() = default;
14
15
void Bytes::assignVec(std::vector<Byte>&& vec) {
16
std::vector<Byte>* asVec = this;
17
*asVec = std::move(vec);
18
}
19
20
void Bytes::assignData(const Byte* data, size_t size) {
21
assign(data, data + size);
Callers
4
TEST
Function · 0.80
TEST
Function · 0.80
fromCpp
Method · 0.80
DataRefValdi
Method · 0.80
Calls
no outgoing calls
Tested by
2
TEST
Function · 0.64
TEST
Function · 0.64