#NEWLINE# def _get_dimension_by_specs( self , offs , fmt , length ) : #NEWLINE# #INDENT# 'Return point dimension of specified offset format and length' #NEWLINE# _mmap = self . data_provider . _mmap #NEWLINE# prefs = ( ( prefs + x ) for x in self . point_refs ) #NEWLINE# packer = self . c_packers [ fmt ] #NEWLINE# return ( packer . unpack ( _mmap [ x : ( x + length ) ] ) [ 0 ] for x in prefs )