Show / Hide Table of Contents
View Source

Class DataReader

Reads the byte data from a DICOM element

Inheritance
System.Object
DataReader
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 class DataReader

Methods

View Source

ReadBigEndian(Int32, DICOMBinaryReader)

Reads the data from an element encoded in big endian byte order

Declaration
public static byte[] ReadBigEndian(int lengthToRead, DICOMBinaryReader dr)
Parameters
Type Name Description
System.Int32 lengthToRead

the length of the data

DICOMBinaryReader dr

the binary reader which is reading the DICOM object

Returns
Type Description
System.Byte[]

the data from this element

View Source

ReadLittleEndian(Int32, DICOMBinaryReader, TransferSyntax)

Reads the data from an element encoded in little endian byte order

Declaration
public static byte[] ReadLittleEndian(int lengthToRead, DICOMBinaryReader dr, TransferSyntax syntax)
Parameters
Type Name Description
System.Int32 lengthToRead

the length of the data

DICOMBinaryReader dr

the binary reader which is reading the DICOM object

TransferSyntax syntax
Returns
Type Description
System.Byte[]

the data from this element

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