Reset the contents of a hfzHeader struct and release any allocated memory.
void hfzHeader_Reset(hfzHeader &fh); // clears mem in ext header buf and restores defaults
Name | Type | Description |
---|---|---|
fh | hfzHeader& | The hfzHeader struct to be reset. |
None (void).
It is recommended this function be called after using hfzReadHeader or hfzReadHeader2 (once the header is no longer needed), as both of these functions may allocate memory in the header struct.