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

Function WriteMaskID

src/codec/DataTypes.cpp:370–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368}
369
370void WriteMaskID(EncodeStream* stream, MaskData* mask) {
371 if (mask != nullptr) {
372 stream->writeEncodedUint32(mask->id);
373 } else {
374 stream->writeEncodedUint32(0);
375 }
376}
377
378void WriteCompositionID(EncodeStream* stream, Composition* composition) {
379 if (composition != nullptr) {

Callers 2

writeValueMethod · 0.85

Calls 1

writeEncodedUint32Method · 0.80

Tested by

no test coverage detected