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

Function ReadMaskID

src/codec/DataTypes.cpp:83–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83MaskData* ReadMaskID(DecodeStream* stream) {
84 auto id = stream->readEncodedUint32();
85 if (id > 0) {
86 auto mask = new MaskData();
87 mask->id = id;
88 return mask;
89 }
90 return nullptr;
91}
92
93Composition* ReadCompositionID(DecodeStream* stream) {
94 auto id = stream->readEncodedUint32();

Callers 2

readValueMethod · 0.85

Calls 1

readEncodedUint32Method · 0.45

Tested by

no test coverage detected