Class ByteConverter
Inheritance
System.Object
ByteConverter
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()
Assembly: fo-dicom.core.dll
Syntax
public static class ByteConverter
Methods
Get<T>(IByteBuffer, Int32)
Declaration
public static T Get<T>(IByteBuffer buffer, int n)
Parameters
Type |
Name |
Description |
IByteBuffer |
buffer |
|
System.Int32 |
n |
|
Returns
Type Parameters
ToArray<T>(IByteBuffer)
Declaration
public static T[] ToArray<T>(IByteBuffer buffer)
Parameters
Returns
Type Parameters
ToArray<T>(IByteBuffer, Int32)
Declaration
public static T[] ToArray<T>(IByteBuffer buffer, int bitsAllocated)
Parameters
Type |
Name |
Description |
IByteBuffer |
buffer |
|
System.Int32 |
bitsAllocated |
|
Returns
Type Parameters
ToByteBuffer(String, Encoding)
Declaration
public static IByteBuffer ToByteBuffer(string value, Encoding encoding = null)
Parameters
Type |
Name |
Description |
System.String |
value |
|
System.Text.Encoding |
encoding |
|
Returns
ToByteBuffer(String, Encoding, Byte)
Declaration
public static IByteBuffer ToByteBuffer(string value, Encoding encoding, byte padding)
Parameters
Type |
Name |
Description |
System.String |
value |
|
System.Text.Encoding |
encoding |
|
System.Byte |
padding |
|
Returns
ToByteBuffer<T>(T[])
Declaration
public static IByteBuffer ToByteBuffer<T>(T[] values)
where T : struct
Parameters
Type |
Name |
Description |
T[] |
values |
|
Returns
Type Parameters
UnpackHigh16(IByteBuffer)
Declaration
public static IByteBuffer UnpackHigh16(IByteBuffer data)
Parameters
Returns
UnpackLow16(IByteBuffer)
Declaration
public static IByteBuffer UnpackLow16(IByteBuffer data)
Parameters
Returns