MCPcopy Create free account
hub / github.com/brainboxdotcc/DPP / image_data

Method image_data

src/dpp/utility.cpp:251–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251image_data::image_data(const image_data& rhs) : data{copy_data(rhs.data.get(), rhs.size)}, size{rhs.size}, type{rhs.type} {
252}
253
254image_data::image_data(image_type format, std::string_view str) : data{copy_data(str)}, size{static_cast<uint32_t>(str.size())}, type{format} {
255}

Callers

nothing calls this directly

Calls 3

copy_dataFunction · 0.85
getMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected