Class DICOMPreambleReader
This class can read the DICOM preamble consisting of 128 null bits followed by the ASCII characters DICM.
Inheritance
System.Object
DICOMPreambleReader
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace:EvilDICOM.Core.IO.Reading
Assembly:EvilDICOM.dll
Syntax
public static class DICOMPreambleReader
Methods
View SourceRead(DICOMBinaryReader)
Reads the first 132 bits of a file to check if it contains the DICOM preamble.
Declaration
public static bool Read(DICOMBinaryReader dr)
Parameters
| Type | Name | Description |
|---|---|---|
| DICOMBinaryReader | dr | a stream containing the bits of the file |
Returns
| Type | Description |
|---|---|
| System.Boolean | a boolean indicating whether or not the DICOM preamble was in the file |