Struct dicom_parser::dataset::ItemValue
source · pub struct ItemValue<P>(_);Expand description
A newtype for wrapping a piece of raw data into an item. When converting a value of this type into tokens, the algorithm will create an item start with an explicit length, followed by an item value token, then an item delimiter.
Trait Implementations§
source§impl<P> IntoTokens for ItemValue<P>where
P: AsRef<[u8]>,
impl<P> IntoTokens for ItemValue<P>where
P: AsRef<[u8]>,
§type Iter = ItemValueTokens<P>
type Iter = ItemValueTokens<P>
The iterator type through which tokens are obtained.
source§fn into_tokens(self) -> Self::Iter
fn into_tokens(self) -> Self::Iter
Convert the value into tokens.