def _get_footer_size(file_obj):
 file_obj.seek((-8), 2)
 tup = struct.unpack('<i', file_obj.read(4))
 return tup[0]

def _get_footer_size ( file_obj ) : file_obj . seek ( ( - 8 ) , 2 ) tup = struct . unpack ( '<i' , file_obj . read ( 4 ) ) return tup [ 0 ]
read the footer size in bytes .