Open
Description
When trying to write to a DataArray, an IO Error will occur, if the product value of the data used does not match the product value of the defined shape of the DataArray.
e.g.
da = b.create_data_array('name', 'type', nix.DataType.Double, [2 4]);
% will accept only arrays containing the following values,
% any other values will lead to an IO Error.
da.write_all([2 4])
da.write_all([4 2])
da.write_all([8])
da.write_all([2 2 2])