X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=classfile%2Fbinfmt.py;h=cc2f420ee68be652e95c3c7ccbf5653c699bcf43;hb=188fa298c78404f0cb1ed5291cfa53e5be0fb4b2;hp=67a2d3c9e775691fdf0a7051985801836890fc89;hpb=eaf86c37f4bd3783414cde4ad622fa3061ef0eb6;p=pycfml.git diff --git a/classfile/binfmt.py b/classfile/binfmt.py index 67a2d3c..cc2f420 100644 --- a/classfile/binfmt.py +++ b/classfile/binfmt.py @@ -93,6 +93,9 @@ class decstream(decoder): self.buf.extend(ret) return False + def tell(self): + return self.bk.tell() - len(self.buf) + def splice(self, ln=-1): buf = self.buf if ln < 0: