def _correct_offset(fid):
 current = fid.tell()
 if ((current % BTI.FILE_CURPOS) != 0):
  offset = (current % BTI.FILE_CURPOS)
  fid.seek((BTI.FILE_CURPOS - offset), 1)

def _correct_offset ( fid ) : current = fid . tell ( ) if ( ( current % BTI . FILE_CURPOS ) != 0 ) : offset = ( current % BTI . FILE_CURPOS ) fid . seek ( ( BTI . FILE_CURPOS - offset ) , 1 )
align fid pointer .