def verify(self):
<EOL>pos = self.tell()<EOL>self.seek(<NUM_LIT:0>)<EOL>checksum = <NUM_LIT:0><EOL>for chunk in iter(lambda: self.read(<NUM_LIT>), b'<STR_LIT>'):<EOL><INDENT>checksum = crc32(chunk, checksum)<EOL><DEDENT>self.seek(pos)<EOL>return self.crc32 == checksum & <NUM_LIT><EOL>
Returns True if the file contents match with the CRC32 attribute

note: reset