dicom_parser::stateful::decode

Type Alias FileHeaderParser

Source
pub type FileHeaderParser<S> = StatefulDecoder<ExplicitVRLittleEndianDecoder, S, LittleEndianBasicDecoder, DefaultCharacterSetCodec>;
Expand description

Type alias for the DICOM parser of a file’s Meta group.

Aliased Type§

struct FileHeaderParser<S> { /* private fields */ }

Implementations§

Source§

impl<S> FileHeaderParser<S>
where S: Read,

Source

pub fn file_header_parser(from: S) -> Self

Create a new DICOM stateful decoder for reading the file meta header, which is always in Explicit VR Little Endian.