MCPcopy Create free account
hub / github.com/Tencent/libpag / PsdTextAttribute

Method PsdTextAttribute

exporter/src/utils/PsdTextAttribute.cpp:118–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118PsdTextAttribute::PsdTextAttribute(int size, const uint8_t* data) {
119 mem.reserve(size);
120 len = stringFormatTransform(mem, data, size);
121 src = mem.data();
122}
123
124bool PsdTextAttribute::getIntegerByKeys(int& result, std::vector<int> keys, const int keyCount) {
125 if (keys.empty() || keyCount <= 0) {

Callers

nothing calls this directly

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected