Module dicom_encoding::transfer_syntax[][src]

Module containing the DICOM Transfer Syntax data structure and related methods. Similar to the DcmCodec in DCMTK, the TransferSyntax contains all of the necessary algorithms for decoding and encoding DICOM data in a certain transfer syntax.

This crate does not host specific transfer syntaxes. Instead, they are created in other crates and registered in the global transfer syntax registry, which implements TransferSyntaxIndex. For more information, please see the dicom-transfer-syntax-registry crate.

Modules

explicit_beDeprecated

Explicit VR Big Endian implementation

explicit_leDeprecated

Explicit VR Little Endian implementation

implicit_leDeprecated

Implicit VR Little Endian implementation

Structs

TransferSyntax

A DICOM transfer syntax specifier. The data RW adapter A specifies custom codec capabilities when required.

Enums

Codec

A description and possible implementation regarding the encoding and decoding requirements of a transfer syntax. This is also used as a means to describe whether pixel data is encapsulated and whether this implementation supports it.

Endianness

Enumerate for materializing the two kinds of machine byte order supported by Rust.

NeverAdapter

An immaterial type representing an adapted which is never required,

Traits

DataRWAdapter

An adapter of byte read and write streams.

TransferSyntaxIndex

Trait for containers of transfer syntax specifiers.

Type Definitions

AdapterFreeTransferSyntax

An alias for a transfer syntax specifier with no pixel data encapsulation nor data set deflating.

DynDataRWAdapter

Alias type for a dynamically dispatched data adapter.

DynDecoder

A decoder with its type erased.

DynEncoder

An encoder with its type erased.