/src/qpdf/libqpdf/Pl_Discard.cc
Line | Count | Source |
1 | | #include <qpdf/Pl_Discard.hh> |
2 | | |
3 | | // Exercised in md5 test suite |
4 | | |
5 | | // Pl_Discard does not use the member pattern as thee is no prospect of it ever requiring data |
6 | | // members. |
7 | | |
8 | | Pl_Discard::Pl_Discard() : |
9 | 159 | Pipeline("discard", nullptr) |
10 | 159 | { |
11 | 159 | } |
12 | | |
13 | | // Must be explicit and not inline -- see QPDF_DLL_CLASS in README-maintainer |
14 | 159 | Pl_Discard::~Pl_Discard() = default; |
15 | | |
16 | | void |
17 | | Pl_Discard::write(unsigned char const* buf, size_t len) |
18 | 901 | { |
19 | 901 | } |
20 | | |
21 | | void |
22 | | Pl_Discard::finish() |
23 | 102 | { |
24 | 102 | } |