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

Function WritePath

src/codec/DataTypes.cpp:472–478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470}
471
472void WritePath(EncodeStream* stream, pag::PathHandle value) {
473 stream->writeEncodedUint32(static_cast<uint32_t>(value->verbs.size()));
474 if (value->verbs.empty()) {
475 return;
476 }
477 WritePathInternal(stream, value);
478}
479
480void WriteTextDocument(EncodeStream* stream, pag::TextDocumentHandle value) {
481 WriteBlock(stream, value.get(), TextDocumentBlock);

Callers 1

writeValueMethod · 0.85

Calls 4

WritePathInternalFunction · 0.85
writeEncodedUint32Method · 0.80
sizeMethod · 0.80
emptyMethod · 0.80

Tested by

no test coverage detected