/// Create a primitive data element from the given parts. This method will not check
/// whether the value representation is compatible with the given value.
Create a primitive data element from the given parts. This method will not check
whether the value representation is compatible with the given value.
Create a primitive data element from the given parts . This method will not check whether the value representation is compatible with the given value .
pub fn new(tag: Tag, vr: VR, value: Value<I>) -> Self {
        DataElement {
            header: DataElementHeader {
                tag,
                vr,
                len: value.size(),
            },
            value,
        }
    }
pub fn new ( tag : Tag , vr : VR , value : Value < I > ) -> Self { DataElement { header : DataElementHeader { tag , vr , len : value . size ( ) , } , value , } }
Create a primitive data element from the given parts.
Create a primitive data element from the given parts .
tag
Tag
vr
VR
value
Value<I>