summaryrefslogtreecommitdiff
path: root/dviware/dvisvgm/src/StreamReader.hpp
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-07-08 03:01:46 +0000
committerNorbert Preining <norbert@preining.info>2023-07-08 03:01:46 +0000
commiteeed32591ed8e985fd458c43d976027ad679d682 (patch)
tree1a5db64fc7b9df26f2887acbde587aed73315604 /dviware/dvisvgm/src/StreamReader.hpp
parent2178d699db60492a15e11c107f17da33543af865 (diff)
CTAN sync 202307080301
Diffstat (limited to 'dviware/dvisvgm/src/StreamReader.hpp')
-rw-r--r--dviware/dvisvgm/src/StreamReader.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/dviware/dvisvgm/src/StreamReader.hpp b/dviware/dvisvgm/src/StreamReader.hpp
index 138751c33c..f775cd3bac 100644
--- a/dviware/dvisvgm/src/StreamReader.hpp
+++ b/dviware/dvisvgm/src/StreamReader.hpp
@@ -50,6 +50,7 @@ class StreamReader {
int readByte (HashFunction &hashfunc);
void seek (std::streampos pos, std::ios::seekdir dir) {_is->seekg(pos, dir);}
void seek (std::streampos pos) {_is->seekg(pos);}
+ void skip (std::streampos n) {_is->seekg(n, std::ios::cur);}
std::streampos tell () const {return _is->tellg();}
int peek () const {return _is->peek();}