Class DICOMElementReader
Reads in DICOM elements from a DICOM object
Inheritance
Inherited Members
Namespace:EvilDICOM.Core.IO.Reading
Assembly:EvilDICOM.dll
Syntax
public class DICOMElementReader
Methods
View SourceReadAllElements(DICOMBinaryReader, TransferSyntax, StringEncoding)
Declaration
public static List<IDICOMElement> ReadAllElements(DICOMBinaryReader dr, TransferSyntax syntax, StringEncoding enc)
Parameters
| Type | Name | Description |
|---|---|---|
| DICOMBinaryReader | dr | |
| TransferSyntax | syntax | |
| StringEncoding | enc |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.List<IDICOMElement> |
ReadAllElementsExplicitBigEndian(DICOMBinaryReader, StringEncoding)
Reads and returns all elements in explicit big endian format
Declaration
public static List<IDICOMElement> ReadAllElementsExplicitBigEndian(DICOMBinaryReader dr, StringEncoding enc)
Parameters
| Type | Name | Description |
|---|---|---|
| DICOMBinaryReader | dr | the binary reader which is reading the DICOM object |
| StringEncoding | enc |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.List<IDICOMElement> | DICOM elements read |
ReadAllElementsExplicitLittleEndian(DICOMBinaryReader, StringEncoding)
Reads and returns all elements in explilcit little endian format
Declaration
public static List<IDICOMElement> ReadAllElementsExplicitLittleEndian(DICOMBinaryReader dr, StringEncoding enc)
Parameters
| Type | Name | Description |
|---|---|---|
| DICOMBinaryReader | dr | the binary reader which is reading the DICOM object |
| StringEncoding | enc |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.List<IDICOMElement> | DICOM elements read |
ReadAllElementsImplicitLittleEndian(DICOMBinaryReader, StringEncoding)
Reads and returns all elements in implicit little endian format
Declaration
public static List<IDICOMElement> ReadAllElementsImplicitLittleEndian(DICOMBinaryReader dr, StringEncoding enc)
Parameters
| Type | Name | Description |
|---|---|---|
| DICOMBinaryReader | dr | the binary reader which is reading the DICOM object |
| StringEncoding | enc |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.List<IDICOMElement> | DICOM elements read |
ReadElementExplicitBigEndian(DICOMBinaryReader, StringEncoding)
Reads and returns the next DICOM element starting at the current location in the DICOM binary reader
Declaration
public static IDICOMElement ReadElementExplicitBigEndian(DICOMBinaryReader dr, StringEncoding enc)
Parameters
| Type | Name | Description |
|---|---|---|
| DICOMBinaryReader | dr | the binary reader which is reading the DICOM object |
| StringEncoding | enc |
Returns
| Type | Description |
|---|---|
| IDICOMElement | the next DICOM element |
ReadElementExplicitLittleEndian(DICOMBinaryReader, StringEncoding)
Reads and returns the next DICOM element starting at the current location in the DICOM binary reader
Declaration
public static IDICOMElement ReadElementExplicitLittleEndian(DICOMBinaryReader dr, StringEncoding enc = StringEncoding.ISO_IR_192)
Parameters
| Type | Name | Description |
|---|---|---|
| DICOMBinaryReader | dr | the binary reader which is reading the DICOM object |
| StringEncoding | enc |
Returns
| Type | Description |
|---|---|
| IDICOMElement | the next DICOM element |
ReadElementImplicitLittleEndian(DICOMBinaryReader, StringEncoding)
Reads and returns the next DICOM element starting at the current location in the DICOM binary reader
Declaration
public static IDICOMElement ReadElementImplicitLittleEndian(DICOMBinaryReader dr, StringEncoding enc = StringEncoding.ISO_IR_192)
Parameters
| Type | Name | Description |
|---|---|---|
| DICOMBinaryReader | dr | the binary reader which is reading the DICOM object |
| StringEncoding | enc |
Returns
| Type | Description |
|---|---|
| IDICOMElement | the next DICOM element |
SkipElementExplicitBigEndian(DICOMBinaryReader)
Declaration
public static void SkipElementExplicitBigEndian(DICOMBinaryReader dr)
Parameters
| Type | Name | Description |
|---|---|---|
| DICOMBinaryReader | dr |
SkipElementExplicitLittleEndian(DICOMBinaryReader)
Declaration
public static void SkipElementExplicitLittleEndian(DICOMBinaryReader dr)
Parameters
| Type | Name | Description |
|---|---|---|
| DICOMBinaryReader | dr |
SkipElementImplicitLittleEndian(DICOMBinaryReader)
Declaration
public static void SkipElementImplicitLittleEndian(DICOMBinaryReader dr)
Parameters
| Type | Name | Description |
|---|---|---|
| DICOMBinaryReader | dr |