File tree 2 files changed +5
-2
lines changed 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ to install the package manually using `pip` Python package manager.
48
48
Licensing
49
49
------------------------------
50
50
51
- Copyright 2015-2018 Kaitai Project: MIT license
51
+ Copyright 2015-2019 Kaitai Project: MIT license
52
52
53
53
Permission is hereby granted, free of charge, to any person obtaining
54
54
a copy of this software and associated documentation files (the
Original file line number Diff line number Diff line change 12
12
# KS runtime library by this version number;
13
13
# * distribution utils (setup.py) use this when packaging for PyPI
14
14
#
15
- __version__ = '0.8 '
15
+ __version__ = '0.9 '
16
16
17
17
18
18
class KaitaiStruct (object ):
@@ -66,6 +66,9 @@ def close(self):
66
66
# ========================================================================
67
67
68
68
def is_eof (self ):
69
+ if self .bits_left > 0 :
70
+ return False
71
+
69
72
io = self ._io
70
73
t = io .read (1 )
71
74
if t == b'' :
You can’t perform that action at this time.
0 commit comments