This adds new functions for construction DICOM objects which represent command sets. The main perk of InMemDicomObject::command_from_element_iter over just InMemDicomObject::from_element_iter is that a Command Group Length (0000, 0000) is automatically calculated and added to the output object.
This also updates echoscu, storescu, findscu and storescp to use this function, making them a bit leaner.
This adds new functions for construction DICOM objects which represent command sets. The main perk of
InMemDicomObject::command_from_element_iter
over justInMemDicomObject::from_element_iter
is that a Command Group Length (0000, 0000) is automatically calculated and added to the output object.This also updates
echoscu
,storescu
,findscu
andstorescp
to use this function, making them a bit leaner.