C# Class org.GraphDefined.Vanaheimr.Illias.Endianness.EndiannessHell

Some utilities to help in the hell of endianness.
Exibir arquivo Open project: Vanaheimr/Illias

Public Methods

Method Description
SwapBytes ( this Value ) : Int16

Swap the byte representation of the given Int16 value.

SwapBytes ( this Value ) : Int32

Swap the byte representation of the given Int32 value.

SwapBytes ( this Value ) : System.Int64

Swap the byte representation of the given Int64 value.

SwapBytes ( this Value ) : UInt16

Swap the byte representation of the given UInt16 value.

SwapBytes ( this Value ) : UInt32

Swap the byte representation of the given UInt32 value.

SwapBytes ( this Value ) : System.UInt64

Swap the byte representation of the given UInt64 value.

Method Details

SwapBytes() public static method

Swap the byte representation of the given Int16 value.
public static SwapBytes ( this Value ) : Int16
Value this A Int16.
return System.Int16

SwapBytes() public static method

Swap the byte representation of the given Int32 value.
public static SwapBytes ( this Value ) : Int32
Value this A Int32.
return System.Int32

SwapBytes() public static method

Swap the byte representation of the given Int64 value.
public static SwapBytes ( this Value ) : System.Int64
Value this A Int64.
return System.Int64

SwapBytes() public static method

Swap the byte representation of the given UInt16 value.
public static SwapBytes ( this Value ) : UInt16
Value this A UInt16.
return System.UInt16

SwapBytes() public static method

Swap the byte representation of the given UInt32 value.
public static SwapBytes ( this Value ) : UInt32
Value this A UInt32.
return System.UInt32

SwapBytes() public static method

Swap the byte representation of the given UInt64 value.
public static SwapBytes ( this Value ) : System.UInt64
Value this A UInt64.
return System.UInt64