Recursively removes padding from within a compound datatype.

Procedure:

H5T_PACK(dtype_id)

Signature:

<pre><code class="language-c">herr_t H5Tpack( hid_t dtype_id )</code></pre>

<pre><code class="language-fortran">SUBROUTINE h5tpack_f(type_id, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: type_id ! Datatype identifier
  INTEGER, INTENT(OUT) :: hdferr        ! Error code
END SUBROUTINE h5tpack_f</code></pre>

Parameters:
hid_t dtype_id    IN: Identifier of datatype to modify.

Description:

H5Tpack recursively removes padding from within a compound datatype to make it more efficient (space-wise) to store that data.

Returns:

Returns a non-negative value if successful; otherwise returns a negative value.

Example:

Coming Soon!