Show / Hide Table of Contents
View Source

Class MultiplicityReader

Helps read DICOM data with VM > 1

Inheritance
System.Object
MultiplicityReader
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.Data
Assembly:EvilDICOM.dll
Syntax
public class MultiplicityReader

Methods

View Source

ReadMultipleBinary<T>(Byte[], Int32, Func<Byte[], T>)

Reads binary data that has been concated with no delimiter. Returns an array of each instance of data in the concated bytes.

Declaration
public static T[] ReadMultipleBinary<T>(byte[] data, int singleLength, Func<byte[], T> readSingleFunc)
Parameters
Type Name Description
System.Byte[] data

the concated data (also accepts data with no concation)

System.Int32 singleLength

the length in bytes of each data item

System.Func<System.Byte[], T> readSingleFunc

the function to use to parse each data element in the concated bytes

Returns
Type Description
T[]

an array of each data instance

Type Parameters
Name Description
T

the type of data in the bytes

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