Class DataComposer
Inheritance
System.Object
DataComposer
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 DataComposer
Methods
View SourceGetDataBigEndian(IDICOMElement, StringEncoding)
Declaration
public static byte[] GetDataBigEndian(IDICOMElement el, StringEncoding enc)
Parameters
| Type | Name | Description |
|---|---|---|
| IDICOMElement | el | |
| StringEncoding | enc |
Returns
| Type | Description |
|---|---|
| System.Byte[] |
GetDataLittleEndian(IDICOMElement, StringEncoding)
Declaration
public static byte[] GetDataLittleEndian(IDICOMElement el, StringEncoding enc)
Parameters
| Type | Name | Description |
|---|---|---|
| IDICOMElement | el | |
| StringEncoding | enc |
Returns
| Type | Description |
|---|---|
| System.Byte[] |
GetEncodedBytes(String, StringEncoding)
Declaration
public static byte[] GetEncodedBytes(string s, StringEncoding enc)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | s | |
| StringEncoding | enc |
Returns
| Type | Description |
|---|---|
| System.Byte[] |
GetStringBytes(VR, IDICOMElement, StringEncoding)
Declaration
public static byte[] GetStringBytes(VR vr, IDICOMElement el, StringEncoding enc)
Parameters
| Type | Name | Description |
|---|---|---|
| VR | vr | |
| IDICOMElement | el | |
| StringEncoding | enc |
Returns
| Type | Description |
|---|---|
| System.Byte[] |