Delegate H5D.gather_func_t
Delegate for H5Dgather() callback See https://www.hdfgroup.org/HDF5/doc/RM/RM_H5D.html#Dataset-Gather
Namespace: HDF.PInvoke
Assembly: HDF.PInvoke.dll
Syntax
public delegate System.Int32 gather_func_t(IntPtr dst_buf, System.IntPtr dst_buf_bytes_used, IntPtr op_data);
Parameters
Type | Name | Description |
---|---|---|
IntPtr | dst_buf | Pointer to the destination buffer which has been filled with the next set of elements gathered. |
System.IntPtr | dst_buf_bytes_used | Pointer to the number of valid
bytes in |
IntPtr | op_data | User-defined pointer to data required by the callback function. |
Returns
Type | Description |
---|---|
System.Int32 | The callback function should return zero (0) to indicate success, and a negative value to indicate failure. |