@return buffer if successful, or NULL if an error occurred
This is similar to hfile_mem_get_buffer except that ownership of the
buffer is granted to the caller, who now has responsibility for freeing
it. From this point onwards, the hFILE should not be used for any
purpose other than closing.
@return buffer if successful, or NULL if an error occurred
This is similar to hfile_mem_get_buffer except that ownership of the buffer is granted to the caller, who now has responsibility for freeing it. From this point onwards, the hFILE should not be used for any purpose other than closing.