MCPcopy Create free account
hub / github.com/Tencent/tgfx / Data

Method Data

src/core/Data.cpp:85–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85Data::Data(const void* data, size_t length, ReleaseProc releaseProc, void* context)
86 : _data(data), _size(length), releaseProc(releaseProc), releaseContext(context) {
87}
88
89Data::~Data() {
90 if (releaseProc) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected