#NEWLINE# def _read_ids( self , offset , postcount ) : #NEWLINE# #INDENT# pf = self . postfile #NEWLINE# if self . stringids : #NEWLINE# #INDENT# pf . seek ( offset ) #NEWLINE# rs = pf . read_string #NEWLINE# ids = [ utf8decode ( rs ( ) ) [ 0 ] for _ in xrange ( postcount ) ] #NEWLINE# offset = pf . tell ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# ids = pf . get_array ( offset , 'I' , postcount ) #NEWLINE# offset += ( _INT_SIZE * rs ) #NEWLINE# #UNINDENT# return ( ids , offset )