def read_numpy(fh, byteorder, dtype, count):
 dtype = ('b' if (dtype[(-1)] == 's') else (byteorder + dtype[(-1)]))
 return fh.read_array(dtype, count)

def read_numpy ( fh , byteorder , dtype , count ) : dtype = ( 'b' if ( dtype [ ( - 1 ) ] == 's' ) else ( byteorder + dtype [ ( - 1 ) ] ) ) return fh . read_array ( dtype , count )
read tag data from file and return as numpy array .