#NEWLINE# def _AlignUncompressedDataOffset( self , uncompressed_data_offset ) : #NEWLINE# #INDENT# 'Aligns the compressed file with the uncompressed data offset.\n\n    Args:\n      uncompressed_data_offset: the uncompressed data offset.\n    ' #NEWLINE# if self . _zip_ext_file : #NEWLINE# #INDENT# self . _zip_ext_file . close ( ) #NEWLINE# self . _zip_ext_file = None #NEWLINE# #UNINDENT# self . _zip_ext_file = self . _zip_file . open ( self . _zip_info , 'r' ) #NEWLINE# self . _uncompressed_data = b'' #NEWLINE# self . _uncompressed_data_size = 0 #NEWLINE# self . _uncompressed_data_offset = 0 #NEWLINE# while ( uncompressed_data_offset > 0 ) : #NEWLINE# #INDENT# self . _ReadCompressedData ( self . _UNCOMPRESSED_DATA_BUFFER_SIZE ) #NEWLINE# if ( uncompressed_data_offset < self . _uncompressed_data_size ) : #NEWLINE# #INDENT# self . _uncompressed_data_offset = uncompressed_data_offset #NEWLINE# break #NEWLINE# #UNINDENT# uncompressed_data_offset -= self . _uncompressed_data_size