openDICOM.NET API Reference (openDICOM# Class Library)

ByteConvert.SwapBytes Method (UInt16)

Changes between little and big endian byte ordering of an unsigned word and returns it.

public static ushort SwapBytes(
   ushort word
);

See Also

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