MCPcopy Create free account
hub / github.com/docling-project/docling-parse / decode

Method decode

src/parse/qpdf/stream_decoder.h:61–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 }
60
61 void qpdf_stream_decoder::decode(QPDFObjectHandle& content)
62 {
63 LOG_S(INFO) << "start decoding content-stream: " << content.getTypeName() << " -> " << content.unparse();
64
65 stream.clear();
66
67 try
68 {
69 QPDFObjectHandle::parseContentStream(content, this);
70 }
71 catch(std::exception& e)
72 {
73 LOG_S(ERROR) << "QPDF encountered error (" << e.what() << ") during decoding";
74 }
75
76 LOG_S(WARNING) << "finished decoding content-stream!";
77 }
78
79 /*
80 void qpdf_stream_decoder::handleObject(QPDFObjectHandle obj)

Callers

nothing calls this directly

Calls 2

unparseMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected