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

Method ValdiArchiveEntry

valdi_core/src/valdi_core/cpp/Resources/ValdiArchive.cpp:104–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104ValdiArchiveEntry::ValdiArchiveEntry(StringBox filePath, const Byte* data, size_t dataLength)
105 : filePath(std::move(filePath)), data(data), dataLength(dataLength) {}
106
107ValdiArchiveEntry::ValdiArchiveEntry(StringBox filePath, const StringBox& stringData)
108 : ValdiArchiveEntry(std::move(filePath), reinterpret_cast<const Byte*>(stringData.getCStr()), stringData.length()) {

Callers

nothing calls this directly

Calls 2

getCStrMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected