[−][src]Trait dicom_core::header::Header
A trait for a data type containing a DICOM header.
Required methods
fn tag(&self) -> Tag
Retrieve the element's tag as a (group, element)
tuple.
fn len(&self) -> Length
Retrieve the value data's length as specified by the data element, in bytes. According to the standard, the concrete value size may be undefined, which can be the case for sequence elements or specific primitive values.
Provided methods
fn is_item(&self) -> bool
Check whether this is the header of an item.
fn is_item_delimiter(&self) -> bool
Check whether this is the header of an item delimiter.
fn is_sequence_delimiter(&self) -> bool
Check whether this is the header of a sequence delimiter.