dicomParser
dicomParser copied to clipboard
Fix parsing of truncated byte arrays
This change will catch dataset parsing exceptions and merge in the parsed metadata header dataset with the partially parsed dataset and re-throw the exception. This allows a truncated byte array to still be parsed (up to the point of the parsing exception).