openDICOM.NET API Reference (openDICOM# Class Library)

ByteConvert.SwapBytes Method (Int16)

Changes between little and big endian byte ordering of a signed word and returns it.

public static short SwapBytes(
   short word
);

See Also

ByteConvert Class | openDicom.Encoding Namespace | ByteConvert.SwapBytes Overload List