C# Class Files.Endian

Show file Open project: Afr0Games/Project-Dollhouse

Public Methods

Method Description
SwapInt16 ( short v ) : short
SwapInt32 ( int v ) : int
SwapInt64 ( long v ) : long
SwapUInt16 ( ushort v ) : ushort
SwapUInt32 ( uint v ) : uint
SwapUInt64 ( ulong v ) : ulong

Private Methods

Method Description
Endian ( ) : System

Method Details

SwapInt16() public static method

public static SwapInt16 ( short v ) : short
v short
return short

SwapInt32() public static method

public static SwapInt32 ( int v ) : int
v int
return int

SwapInt64() public static method

public static SwapInt64 ( long v ) : long
v long
return long

SwapUInt16() public static method

public static SwapUInt16 ( ushort v ) : ushort
v ushort
return ushort

SwapUInt32() public static method

public static SwapUInt32 ( uint v ) : uint
v uint
return uint

SwapUInt64() public static method

public static SwapUInt64 ( ulong v ) : ulong
v ulong
return ulong