Feature #791
openMake DIMSE_createFilestream more flexible
0%
Description
In the DCMTK forum (http://forum.dcmtk.org/viewtopic.php?f=1&t=4623), user "DraconPern" writes:
I am running into a situation where in DIMSE_createFilestream, I need the creation of DcmOutputFileStream to be seperate from writing the metaheader. Specifically I want to use DcmOutputFileStream created from a FILE*. Now currently DcmOutputFileStream already supports that. But since DIMSE_createFilestream creates DcmOutputFileStream from a filename, there's no way to actually specify a FILE*. Right now, I am just using a modified DIMSE_createFilestream replacing filename with a handle, but I think something more modular is better? May be refactor DIMSE_createFilestream to be two parts (DcmOutputFileStream creation, and metaheader writing), and then rewrite DIMSE_createFilestream to use those two parts so this isn't a breaking change. Finally expose the metaheader writing function public like, DIMSE_writeMetaheader.
No data to display