Search Results for

    Show / Hide Table of Contents

    Class DicomReader

    DICOM reader implementation.

    Inheritance
    Object
    DicomReader
    Implements
    IDicomReader
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Dicom.IO.Reader
    Assembly: cs.temp.dll.dll
    Syntax
    public class DicomReader : IDicomReader

    Constructors

    DicomReader()

    Initializes an instance of DicomReader.

    Declaration
    public DicomReader()

    Properties

    Dictionary

    Gets or sets the DICOM dictionary to be used by the reader.

    Declaration
    public DicomDictionary Dictionary { get; set; }
    Property Value
    Type Description
    DicomDictionary

    IsDeflated

    Declaration
    public bool IsDeflated { get; set; }
    Property Value
    Type Description
    Boolean

    IsExplicitVR

    Gets or sets whether value representation is explicit or not.

    Declaration
    public bool IsExplicitVR { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    Read(IByteSource, IDicomReaderObserver, Func<ParseState, Boolean>)

    Perform DICOM reading of a byte source.

    Declaration
    public DicomReaderResult Read(IByteSource source, IDicomReaderObserver observer, Func<ParseState, bool> stop = null)
    Parameters
    Type Name Description
    IByteSource source

    Byte source to read.

    IDicomReaderObserver observer

    Reader observer.

    Func<ParseState, Boolean> stop

    Criterion at which to stop.

    Returns
    Type Description
    DicomReaderResult

    Reader resulting status.

    ReadAsync(IByteSource, IDicomReaderObserver, Func<ParseState, Boolean>)

    Asynchronously perform DICOM reading of a byte source.

    Declaration
    public Task<DicomReaderResult> ReadAsync(IByteSource source, IDicomReaderObserver observer, Func<ParseState, bool> stop = null)
    Parameters
    Type Name Description
    IByteSource source

    Byte source to read.

    IDicomReaderObserver observer

    Reader observer.

    Func<ParseState, Boolean> stop

    Criterion at which to stop.

    Returns
    Type Description
    Task<DicomReaderResult>

    Awaitable reader resulting status.

    Implements

    IDicomReader
    In This Article
    Back to top Copyright (c) 2012-2021 fo-dicom contributors