H5D_GET_STORAGE_SIZE

Syntax | Return Value | Arguments | Keywords | Version History | See Also

The H5D_GET_STORAGE_SIZE function returns the amount of storage in bytes required for a dataset. For chunked datasets, this value is the number of allocated chunks times the chunk size.

Note
This function does not typically need to be called, as IDL will automatically allocate the necessary memory when reading data.

Syntax

Result = H5D_GET_STORAGE_SIZE(Dataset_id)

Return Value

Returns the amount of storage in bytes.

Arguments

Dataset_id

An integer representing the dataset's identifier to be queried.

Keywords

None

Version History

5.6

Introduced

See Also

H5S_CLOSE, H5D_GET_SPACE, H5D_GET_TYPE