summaryrefslogtreecommitdiffstats
path: root/decoder.h
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 07:47:56 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 07:47:56 +0000
commit1f98801df36334e9e0d80e3db19247a5c65c9bf4 (patch)
tree89834a124bab1d1fddc206946271a648ba4352d4 /decoder.h
parentAdding upstream version 1.7. (diff)
downloadlzip-1f98801df36334e9e0d80e3db19247a5c65c9bf4.tar.xz
lzip-1f98801df36334e9e0d80e3db19247a5c65c9bf4.zip
Adding upstream version 1.8.upstream/1.8
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'decoder.h')
-rw-r--r--decoder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder.h b/decoder.h
index e4444f1..ca21af1 100644
--- a/decoder.h
+++ b/decoder.h
@@ -63,6 +63,7 @@ public:
ibuf( buf )
{ for( int i = 0; i < 5; ++i ) code = (code << 8) | get_byte(); }
+ bool code_is_zero() const throw() { return ( code == 0 ); }
bool finished() const throw() { return ibuf.finished(); }
long long member_position() const throw() { return member_pos; }