pub struct ImplicitVRLittleEndianDecoder<D> { /* private fields */ }Expand description
A data element decoder for the Explicit VR Little Endian transfer syntax. This type contains a reference to an attribute dictionary for resolving value representations.
Implementations
sourceimpl ImplicitVRLittleEndianDecoder<StandardDataDictionary>
impl ImplicitVRLittleEndianDecoder<StandardDataDictionary>
sourcepub fn with_std_dict() -> Self
pub fn with_std_dict() -> Self
Retrieve this decoder using the standard data dictionary.
sourceimpl<D> ImplicitVRLittleEndianDecoder<D>where
D: DataDictionary,
impl<D> ImplicitVRLittleEndianDecoder<D>where
D: DataDictionary,
Trait Implementations
sourceimpl<D> Debug for ImplicitVRLittleEndianDecoder<D>
impl<D> Debug for ImplicitVRLittleEndianDecoder<D>
sourceimpl<D> Decode for ImplicitVRLittleEndianDecoder<D>where
D: DataDictionary,
impl<D> Decode for ImplicitVRLittleEndianDecoder<D>where
D: DataDictionary,
sourcefn decode_header<S>(&self, source: &mut S) -> Result<(DataElementHeader, usize)>where
S: ?Sized + Read,
fn decode_header<S>(&self, source: &mut S) -> Result<(DataElementHeader, usize)>where
S: ?Sized + Read,
Fetch and decode the next data element header from the given source.
This method returns only the header of the element. At the end of this operation, the source
will be pointing at the element’s value data, which should be read or skipped as necessary. Read more
sourcefn decode_item_header<S>(&self, source: &mut S) -> Result<SequenceItemHeader>where
S: ?Sized + Read,
fn decode_item_header<S>(&self, source: &mut S) -> Result<SequenceItemHeader>where
S: ?Sized + Read,
Fetch and decode the next sequence item head from the given source. It is a separate method
because value representation is always implicit when reading item headers and delimiters.
This method returns only the header of the item. At the end of this operation, the source
will be pointing at the beginning of the item’s data, which should be traversed if necessary. Read more
sourceimpl<S: ?Sized, D> DecodeFrom<S> for ImplicitVRLittleEndianDecoder<D>where
S: Read,
D: DataDictionary,
impl<S: ?Sized, D> DecodeFrom<S> for ImplicitVRLittleEndianDecoder<D>where
S: Read,
D: DataDictionary,
sourcefn decode_header(&self, source: &mut S) -> Result<(DataElementHeader, usize)>
fn decode_header(&self, source: &mut S) -> Result<(DataElementHeader, usize)>
Fetch and decode the next data element header from the given source.
This method returns only the header of the element. At the end of this operation, the source
will be pointing at the element’s value data, which should be read or skipped as necessary. Read more
sourcefn decode_item_header(&self, source: &mut S) -> Result<SequenceItemHeader>
fn decode_item_header(&self, source: &mut S) -> Result<SequenceItemHeader>
Fetch and decode the next sequence item head from the given source. It is a separate method
because value representation is always implicit when reading item headers and delimiters.
This method returns only the header of the item. At the end of this operation, the source
will be pointing at the beginning of the item’s data, which should be traversed if necessary. Read more
sourcefn decode_tag(&self, source: &mut S) -> Result<Tag>
fn decode_tag(&self, source: &mut S) -> Result<Tag>
Decode a DICOM attribute tag from the given source.
Auto Trait Implementations
impl<D> RefUnwindSafe for ImplicitVRLittleEndianDecoder<D>where
D: RefUnwindSafe,
impl<D> Send for ImplicitVRLittleEndianDecoder<D>where
D: Send,
impl<D> Sync for ImplicitVRLittleEndianDecoder<D>where
D: Sync,
impl<D> Unpin for ImplicitVRLittleEndianDecoder<D>where
D: Unpin,
impl<D> UnwindSafe for ImplicitVRLittleEndianDecoder<D>where
D: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more