def calc_intsize(self):
<EOL>for k in self.binarychunks.iterkeys():<EOL><INDENT>if int(k.split('<STR_LIT:/>')[<NUM_LIT:3>]) == <NUM_LIT:1> and '<STR_LIT>' in k.split('<STR_LIT:/>')[-<NUM_LIT:1>]:<EOL><INDENT>headsize = self.binarychunks[k]<EOL>break<EOL><DEDENT><DEDENT>for k in self.binarychunks.iterkeys():<EOL><INDENT>if int(k.split('<STR_LIT:/>')[<NUM_LIT:3>]) == <NUM_LIT:2> and '<STR_LIT>' in k.split('<STR_LIT:/>')[-<NUM_LIT:1>]:<EOL><INDENT>intsize = self.binarychunks[k] - headsize<EOL>break<EOL><DEDENT><DEDENT>return (headsize, intsize)<EOL>
Calculates the size of an integration (cross + auto) in bytes