NULL if size is 0. Returns NULL on failure.
H5resize_memory
fn
void * H5resize_memory(void * mem, size_t size)Resizes memory allocated by the HDF5 library.
H5resize_memory changes the size of the memory buffer to size bytes, potentially moving it. The contents will be unchanged up to the lesser of the new and old sizes.
Parameters
mem | Buffer to be resized. Can be NULL. |
size | New size of the buffer |
Returns
On success, returns pointer to resized buffer or returns