openDICOM.NET API Reference (openDICOM# Class Library)

TransferSyntax.CorrectByteOrdering Method (Int32)

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 value
);

Parameters

value
Signed integer to process.

Return Value

Signed integer with or without bytes swapped.

See Also

TransferSyntax Class | openDicom.Encoding Namespace | TransferSyntax.CorrectByteOrdering Overload List