The DICOM stream codec should throw an exception when a tag's size is longer than its maximum allowed sizes.
Issue #382
new
When the explicit VR is used then some tags may be at most 65534 bytes long: when writing tags that exceed this maximum size the codec should throw an exception (use dicomDictionary::getLongLength to know if a tag supports long length in explicit VR mode).