dicom_parser::stateful

Module encode

Source
Expand description

Module holding a stateful DICOM data encoding abstraction.

The StatefulEncoder supports encoding of binary data and text while applying the necessary padding to conform to DICOM encoding rules.

Structs§

  • Also called a printer, this encoder type provides a stateful mid-level abstraction for writing DICOM content. Unlike Encode, the stateful encoder knows how to write text values and keeps track of how many bytes were written. W is the write target, E is the encoder, and T is the text codec.

Enums§

Type Aliases§