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