H5S_SET_EXTENT_SIMPLE sets or resets the size of an existing dataspace.
rank is the dimensionality, or number of dimensions, of the dataspace.
current_size is an array of size
rank which contains the new size of each dimension in the dataspace.
maximum_size is an array of size
rank which contains the maximum size of each dimension in the dataspace.
Any previous extent is removed from the dataspace, the dataspace type is set to
H5S_SIMPLE, and the extent is set as specified.
Note that a dataset must be chunked if
current_size does not equal