Expand description
Interpretation of DICOM data sets as streams of tokens.
Re-exports§
pub use self::read::DataSetReader;pub use self::write::DataSetWriter;
Modules§
- lazy_
read - This module contains a mid-level abstraction for reading DICOM content
sequentially and in a lazy fashion.
That is, unlike the reader in the
readmodule, DICOM values can be skipped and most allocations can be avoided. - read
- This module contains a mid-level abstraction for reading DICOM content sequentially.
- write
- Module for the data set writer
Structs§
- AsItem
- A newtype for interpreting the given data as an item. When converting a value of this type into tokens, the inner value’s tokens will be surrounded by an item start and an item delimiter.
- Flatten
Tokens - Flatten a sequence of elements into their respective token sequence in order.
- Into
Tokens Options - Options for token generation
- Item
Value - A newtype for wrapping a piece of raw data into an item. When converting a value of this type into tokens, the algorithm will create an item start with an explicit length, followed by an item value token, then an item delimiter.
- Offset
Table Item - A newtype for wrapping a sequence of
u32s into an offset table item. When converting a value of this type into tokens, the algorithm will create an item start with an explicit length, followed by an item value token, then an item delimiter.
Enums§
- Data
Element Tokens - Token generator from a DICOM data element.
- Data
Token - A token of a DICOM data set stream. This is part of the interpretation of a data set as a stream of symbols, which may either represent data headers or actual value data.
- Error
- Item
Tokens - Item
Value Tokens - Lazy
Data Token - A lazy data token for reading a data set without requiring values to be fully read in memory. This is part of the interpretation of a data set as a stream of symbols, which may either represent data headers or actual value data.
- Lazy
Data Token Repr - A structured description of a lazy data token, for diagnostics and error reporting purposes.
- Offset
Table Item Tokens - SeqToken
Type - The type of delimiter: sequence or item.
Traits§
- Into
Tokens - A trait for converting structured DICOM data into a stream of data tokens.