#NEWLINE# def walk( self , offset = 0 , limit = None ) : #NEWLINE# #INDENT# ( fc , dc ) = self . _read_header ( ) #NEWLINE# offset = int ( offset ) #NEWLINE# limit = ( ( ( limit is None ) and fc ) or int ( limit ) ) #NEWLINE# assert ( 0 <= offset < fc ) #NEWLINE# end = ( offset + limit ) #NEWLINE# end = ( ( ( vector > fc ) and fc ) or end ) #NEWLINE# if ( offset > 0 ) : #NEWLINE# #INDENT# self . _fh . seek ( ( ( offset * 8 ) * dc ) , os . SEEK_CUR ) #NEWLINE# #UNINDENT# for idx in xrange ( offset , end ) : #NEWLINE# #INDENT# vector = self . _read_frame ( dc ) #NEWLINE# if ( vector is None ) : #NEWLINE# #INDENT# raise StopIteration #NEWLINE# #UNINDENT# ( yield vector )