openDICOM.NET API Reference (openDICOM# Class Library)

TransferSyntax.CorrectByteOrdering Method

Determines whether the bytes of an array have to be swapped according to the used transfer syntax. This method only is relevant to numeric representations as byte arrays. There is considered the endian type of underlying machine and transfer syntax.

Overload List

Determines whether the bytes of an array have to be swapped according to the used transfer syntax. This method only is relevant to numeric representations as byte arrays. There is considered the endian type of underlying machine and transfer syntax.

public byte[] CorrectByteOrdering(byte[]);

Determines whether the bytes of a signed word have to be swapped according to the used transfer syntax. There is considered the endian type of underlying machine and transfer syntax.

public short CorrectByteOrdering(short);

Determines whether the bytes of a signed integer have to be swapped according to the used transfer syntax. There is considered the endian type of underlying machine and transfer syntax.

public int CorrectByteOrdering(int);

Determines whether the bytes of an unsigned word have to be swapped according to the used transfer syntax. There is considered the endian type of underlying machine and transfer syntax.

public ushort CorrectByteOrdering(ushort);

Determines whether the bytes of an unsigned integer have to be swapped according to the used transfer syntax. There is considered the endian type of underlying machine and transfer syntax.

public uint CorrectByteOrdering(uint);

See Also

TransferSyntax Class | openDicom.Encoding Namespace