Skip to main content

Module read

Module read 

Source
Expand description

This module contains a mid-level abstraction for reading DICOM content sequentially.

The rest of the crate is used to obtain DICOM element headers and values. At this level, headers and values are treated as tokens which can be used to form a syntax tree of a full data set.

Structs§

DataSetReader
A higher-level reader for retrieving structure in a DICOM data set from an arbitrary data source.
DataSetReaderOptions
The set of options for the data set reader.
SkippedFragment
Where one skipped encapsulated pixel data fragment’s payload sat in the data set.
SkippedPixelSequence
The Basic Offset Table and per-fragment locations of an encapsulated pixel data sequence skipped by DataSetReader::skip_pixel_sequence_indexed.
SkippedValue
Where a skipped value sat in the data set: position is the value’s first byte, relative to where this reader started reading (add the data set’s own offset in the file for an absolute file offset), and length its byte length.

Enums§

Error
OddLengthStrategy
A strategy for when the parser finds a data element with an odd number in the length header field.
ValueReadStrategy
The value reading strategy for the data set reader.

Type Aliases§

Result