Skip to content

Commit 07824a3

Browse files
committed
rephrased H5Smodule.h documentation
1 parent 1aca8c3 commit 07824a3

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/H5Smodule.h

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -979,11 +979,13 @@
979979
* and the dataset. The HDF5 Library supports independent specification of selections for both the
980980
* dataset (file dataspace) and the memory buffer (memory dataspace).
981981
*
982-
* During data transfer, HDF5 performs the following operations:
983-
* \li The selection in the file dataspace identifies which elements to read from or write to in the dataset
984-
* \li The selection in the memory dataspace identifies where to place read data or where to get write data
985-
* \li If the selections have different numbers of elements or exceed the dataset extents, an error occurs
986-
* \li Data type conversion is applied as elements are transferred between file and memory representations
982+
* During data transfer, selections work as follows:
983+
* \li The selection in the file dataspace identifies which elements to read from or write to in the dataset.
984+
* \li The selection in the memory dataspace defines where to place the read data or where to retrieve the write data.
985+
* \li Both selections must contain the same number of elements and should not exceed the dataset dimensions.
986+
*
987+
* Additionally, as data is transferred, HDF5 automatically performs data type conversion between the
988+
* file and memory representations if the source and destination data types differ.
987989
*
988990
* Selection operations are designed to work with commonly structured patterns while also allowing for
989991
* arbitrary point and hyperslab selections to provide maximum flexibility. These selections can be combined

0 commit comments

Comments
 (0)