Esempio n. 1
0
 def __init__(self, stream, **args):
     RootSeekableFieldSet.__init__(self, None, "root", stream, None, stream.askSize(self))
     HachoirParser.__init__(self, stream, **args)
     if self.ENDIAN_CHECK:
         if self["endian"].value == "\xFF\xFE":
             self.endian = BIG_ENDIAN
         elif self["endian"].value == "\xFE\xFF":
             self.endian = LITTLE_ENDIAN
         else:
             raise ParserError("OLE2: Invalid endian value")
Esempio n. 2
0
 def __init__(self, stream, **args):
     RootSeekableFieldSet.__init__(self, None, "root", stream, None,
                                   stream.askSize(self))
     HachoirParser.__init__(self, stream, **args)
     if self.ENDIAN_CHECK:
         if self["endian"].value == "\xFF\xFE":
             self.endian = BIG_ENDIAN
         elif self["endian"].value == "\xFE\xFF":
             self.endian = LITTLE_ENDIAN
         else:
             raise ParserError("OLE2: Invalid endian value")
Esempio n. 3
0
 def __init__(self, stream, **args):
     RootSeekableFieldSet.__init__(self, None, "root", stream, None,
                                   stream.askSize(self))
     HachoirParser.__init__(self, stream, **args)
Esempio n. 4
0
 def __init__(self, stream, **args):
     RootSeekableFieldSet.__init__(self, None, "root", stream, None, stream.askSize(self))
     HachoirParser.__init__(self, stream, **args)
Esempio n. 5
0
 def __init__(self, stream, **kw):
     RootSeekableFieldSet.__init__(self, None, "root", stream, None, stream.askSize(self))
     HachoirParser.__init__(self, stream, **kw)
     BaseSummary.__init__(self)
 def __init__(self, stream, **kw):
     RootSeekableFieldSet.__init__(self, None, "root", stream, None,
                                   stream.askSize(self))
     HachoirParser.__init__(self, stream, **kw)
     BaseSummary.__init__(self)
Esempio n. 7
0
 def __init__(self, stream, **args):
     MachoFileBase.__init__(self, None, "root", stream, None,
                            stream.askSize(self))
     HachoirParser.__init__(self, stream, **args)
Esempio n. 8
0
 def __init__(self, stream, **args):
     MachoFileBase.__init__(self, None, "root", stream, None, stream.askSize(self))
     HachoirParser.__init__(self, stream, **args)