pub struct ExplicitVRBigEndianDecoder { /* private fields */ }Expand description
A data element decoder for the Explicit VR Big Endian transfer syntax.
Trait Implementations§
Source§impl Clone for ExplicitVRBigEndianDecoder
impl Clone for ExplicitVRBigEndianDecoder
Source§impl Debug for ExplicitVRBigEndianDecoder
impl Debug for ExplicitVRBigEndianDecoder
Source§impl Decode for ExplicitVRBigEndianDecoder
impl Decode for ExplicitVRBigEndianDecoder
Source§fn decode_header<S>(&self, source: &mut S) -> Result<(DataElementHeader, usize)>
fn decode_header<S>(&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
Source§fn decode_item_header<S>(&self, source: &mut S) -> Result<SequenceItemHeader>
fn decode_item_header<S>(&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.
Source§impl<S> DecodeFrom<S> for ExplicitVRBigEndianDecoder
impl<S> DecodeFrom<S> for ExplicitVRBigEndianDecoder
Source§fn 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
Source§fn 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.
Source§fn 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.
Source§fn is_explicit_vr(&self) -> bool
fn is_explicit_vr(&self) -> bool
Whether the VRs of the headers this decoder returns are the ones written in the data
(an explicit VR encoding), rather than looked up in a dictionary. A VR written in the data
is authoritative: it must not be replaced by a dictionary-based guess such as the
Pixel Representation rule for
US or SS attributes.Auto Trait Implementations§
impl Forget for ExplicitVRBigEndianDecoder
impl Freeze for ExplicitVRBigEndianDecoder
impl Move for ExplicitVRBigEndianDecoder
impl RefUnwindSafe for ExplicitVRBigEndianDecoder
impl Send for ExplicitVRBigEndianDecoder
impl Sync for ExplicitVRBigEndianDecoder
impl Unpin for ExplicitVRBigEndianDecoder
impl UnsafeUnpin for ExplicitVRBigEndianDecoder
impl UnwindSafe for ExplicitVRBigEndianDecoder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more