pub struct ExplicitVRLittleEndianDecoder { /* private fields */ }Expand description
A data element decoder for the Explicit VR Little Endian transfer syntax.
Trait Implementations§
source§impl Clone for ExplicitVRLittleEndianDecoder
impl Clone for ExplicitVRLittleEndianDecoder
source§fn clone(&self) -> ExplicitVRLittleEndianDecoder
fn clone(&self) -> ExplicitVRLittleEndianDecoder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Decode for ExplicitVRLittleEndianDecoder
impl Decode for ExplicitVRLittleEndianDecoder
source§fn 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
source§fn 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
source§impl<S> DecodeFrom<S> for ExplicitVRLittleEndianDecoderwhere
S: Read + ?Sized,
impl<S> DecodeFrom<S> for ExplicitVRLittleEndianDecoderwhere
S: Read + ?Sized,
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. Read more
source§impl Default for ExplicitVRLittleEndianDecoder
impl Default for ExplicitVRLittleEndianDecoder
source§fn default() -> ExplicitVRLittleEndianDecoder
fn default() -> ExplicitVRLittleEndianDecoder
Returns the “default value” for a type. Read more