Saves the Data Set to a stream.
public void saveAsync(ILeadStream stream, int flags)
Output stream that will contain the saved data set.
Meta-header flags, Transfer Syntax flags, and other flags that indicate the file characteristics to use when saving the file.
If the Data Set was loaded from a file, the file characteristics were included when the file was loaded. If you wish to use these same characteristics, save the Data Set with flags set to DicomDataSetSaveFlags.None. If you wish to specify the file characteristics for saving the data set, set the characteristics using the possible values for flags.