Class MultiplicityComposer
Inheritance
System.Object
MultiplicityComposer
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 MultiplicityComposer
Methods
View SourceComposeMultipleBinary<T>(DICOMData<T>, Func<T, Byte[]>)
Writes the multiple binary data objects as one string of bytes
Declaration
public static byte[] ComposeMultipleBinary<T>(DICOMData<T> data, Func<T, byte[]> writeSingleFunc)
Parameters
| Type | Name | Description |
|---|---|---|
| DICOMData<T> | data | the data to be converted to binary |
| System.Func<T, System.Byte[]> | writeSingleFunc | the function that can convert a single data item into bytes |
Returns
| Type | Description |
|---|---|
| System.Byte[] | the concated array of bytes that contains all data items |
Type Parameters
| Name | Description |
|---|---|
| T | the type of data |