diff options
author | Jay Berkenbilt <ejb@ql.org> | 2008-04-29 14:55:25 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2008-04-29 14:55:25 +0200 |
commit | 9a0b88bf7777c153dc46ace22db74ef24d51583a (patch) | |
tree | f567ac1cf2bf5071a611eb49323a935b6ac938ff /libqpdf/qpdf/Pl_ASCIIHexDecoder.hh | |
download | qpdf-9a0b88bf7777c153dc46ace22db74ef24d51583a.tar.zst |
update release date to actual daterelease-qpdf-2.0
git-svn-id: svn+q:///qpdf/trunk@599 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'libqpdf/qpdf/Pl_ASCIIHexDecoder.hh')
-rw-r--r-- | libqpdf/qpdf/Pl_ASCIIHexDecoder.hh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/libqpdf/qpdf/Pl_ASCIIHexDecoder.hh b/libqpdf/qpdf/Pl_ASCIIHexDecoder.hh new file mode 100644 index 00000000..36272328 --- /dev/null +++ b/libqpdf/qpdf/Pl_ASCIIHexDecoder.hh @@ -0,0 +1,23 @@ + +#ifndef __PL_ASCIIHEXDECODER_HH__ +#define __PL_ASCIIHEXDECODER_HH__ + +#include <qpdf/Pipeline.hh> + +class Pl_ASCIIHexDecoder: public Pipeline +{ + public: + Pl_ASCIIHexDecoder(char const* identifier, Pipeline* next); + virtual ~Pl_ASCIIHexDecoder(); + virtual void write(unsigned char* buf, int len); + virtual void finish(); + + private: + void flush(); + + char inbuf[3]; + int pos; + bool eod; +}; + +#endif // __PL_ASCIIHEXDECODER_HH__ |