Exemple #1
0
 def handleParsingError(self, e: ParsingError, stream: BytesIO):
     with FilePositionGuard(stream):
         e.addLayer(self, stream.read())
Exemple #2
0
 def handleParsingError(self, e: ParsingError, data: bytes):
     e.addLayer(self, data)