Show / Hide Table of Contents
View Source

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 Source

Read(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

Back to top Copyright © 2015-2016 Microsoft
Generated by DocFX