aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/BitWriter.hh
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2018-01-14 00:13:18 +0100
committerJay Berkenbilt <ejb@ql.org>2018-01-14 01:49:42 +0100
commitd9c90497089ae5cf00891d6febfa7f486f021833 (patch)
tree37ff785d288aa4433eba89230ab7c877b573bc91 /libqpdf/qpdf/BitWriter.hh
parentbf2fb239d7a39255fe122db50dd5d03f9baa25ae (diff)
downloadqpdf-d9c90497089ae5cf00891d6febfa7f486f021833.tar.zst
Add signed support to BitStream and BitWriter
Diffstat (limited to 'libqpdf/qpdf/BitWriter.hh')
-rw-r--r--libqpdf/qpdf/BitWriter.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/libqpdf/qpdf/BitWriter.hh b/libqpdf/qpdf/BitWriter.hh
index 7e3b07a9..3d93c0b7 100644
--- a/libqpdf/qpdf/BitWriter.hh
+++ b/libqpdf/qpdf/BitWriter.hh
@@ -16,6 +16,8 @@ class BitWriter
BitWriter(Pipeline* pl);
QPDF_DLL
void writeBits(unsigned long long val, unsigned int bits);
+ QPDF_DLL
+ void writeBitsSigned(long long val, unsigned int bits);
// Force any partial byte to be written to the pipeline.
QPDF_DLL
void flush();