aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QUtil.hh8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/qpdf/QUtil.hh b/include/qpdf/QUtil.hh
index e8b9e8e1..a6be68f8 100644
--- a/include/qpdf/QUtil.hh
+++ b/include/qpdf/QUtil.hh
@@ -104,6 +104,14 @@ namespace QUtil
QPDF_DLL
std::string hex_encode(std::string const&);
+ // Returns a string that is the result of decoding the input
+ // string. The input string may consist of mixed case hexadecimal
+ // digits. Any characters that are not hexadecimal digits will be
+ // silently ignored. If there are an odd number of hexadecimal
+ // digits, a trailing 0 will be assumed.
+ QPDF_DLL
+ std::string hex_decode(std::string const&);
+
// Set stdin, stdout to binary mode
QPDF_DLL
void binary_stdout();