Method | Description | |
---|---|---|
SwapEndian ( this value ) : int |
Swaps the endian-ness of the given value.
|
|
SwapEndian ( this value ) : long |
Swaps the endian-ness of the given value.
|
|
SwapEndian ( this value ) : short |
Swaps the endian-ness of the given value.
|
|
SwapEndian ( this value ) : uint |
Swaps the endian-ness of the given value.
|
|
SwapEndian ( this value ) : ulong |
Swaps the endian-ness of the given value.
|
|
SwapEndian ( this value ) : ushort |
Swaps the endian-ness of the given value.
|
|
SwapInt16 ( short value ) : short |
Swaps the endian-ness of the given value.
|
|
SwapInt32 ( int value ) : int |
Swaps the endian-ness of the given value.
|
|
SwapInt64 ( long value ) : long |
Swaps the endian-ness of the given value.
|
|
SwapUInt16 ( ushort value ) : ushort |
Swaps the endian-ness of the given value.
|
|
SwapUInt32 ( uint value ) : uint |
Swaps the endian-ness of the given value.
|
|
SwapUInt64 ( ulong value ) : ulong |
Swaps the endian-ness of the given value.
|
|
ToBigEndianConditional ( this value ) : int |
Gets the big-endian value of the given value if the current system is little-endian. If the current system is big-endian, returns the value as-is.
|
|
ToBigEndianConditional ( this value ) : long |
Gets the big-endian value of the given value if the current system is little-endian. If the current system is big-endian, returns the value as-is.
|
|
ToBigEndianConditional ( this value ) : short |
Gets the big-endian value of the given value if the current system is little-endian. If the current system is big-endian, returns the value as-is.
|
|
ToBigEndianConditional ( this value ) : uint |
Gets the big-endian value of the given value if the current system is little-endian. If the current system is big-endian, returns the value as-is.
|
|
ToBigEndianConditional ( this value ) : ulong |
Gets the big-endian value of the given value if the current system is little-endian. If the current system is big-endian, returns the value as-is.
|
|
ToBigEndianConditional ( this value ) : ushort |
Gets the big-endian value of the given value if the current system is little-endian. If the current system is big-endian, returns the value as-is.
|
|
ToLittleEndianConditional ( this value ) : int |
Gets the little-endian value of the given value if the current system is big-endian. If the current system is little-endian, returns the value as-is.
|
|
ToLittleEndianConditional ( this value ) : long |
Gets the little-endian value of the given value if the current system is big-endian. If the current system is little-endian, returns the value as-is.
|
|
ToLittleEndianConditional ( this value ) : short |
Gets the little-endian value of the given value if the current system is big-endian. If the current system is little-endian, returns the value as-is.
|
|
ToLittleEndianConditional ( this value ) : uint |
Gets the little-endian value of the given value if the current system is big-endian. If the current system is little-endian, returns the value as-is.
|
|
ToLittleEndianConditional ( this value ) : ulong |
Gets the little-endian value of the given value if the current system is big-endian. If the current system is little-endian, returns the value as-is.
|
|
ToLittleEndianConditional ( this value ) : ushort |
Gets the little-endian value of the given value if the current system is big-endian. If the current system is little-endian, returns the value as-is.
|
public static SwapEndian ( this value ) : int | ||
value | this | The value to swap the endian-ness of. |
return | int |
public static SwapEndian ( this value ) : long | ||
value | this | The value to swap the endian-ness of. |
return | long |
public static SwapEndian ( this value ) : short | ||
value | this | The value to swap the endian-ness of. |
return | short |
public static SwapEndian ( this value ) : uint | ||
value | this | The value to swap the endian-ness of. |
return | uint |
public static SwapEndian ( this value ) : ulong | ||
value | this | The value to swap the endian-ness of. |
return | ulong |
public static SwapEndian ( this value ) : ushort | ||
value | this | The value to swap the endian-ness of. |
return | ushort |
public static SwapInt16 ( short value ) : short | ||
value | short | The value to swap the endian-ness of. |
return | short |
public static SwapInt32 ( int value ) : int | ||
value | int | The value to swap the endian-ness of. |
return | int |
public static SwapInt64 ( long value ) : long | ||
value | long | The value to swap the endian-ness of. |
return | long |
public static SwapUInt16 ( ushort value ) : ushort | ||
value | ushort | The value to swap the endian-ness of. |
return | ushort |
public static SwapUInt32 ( uint value ) : uint | ||
value | uint | The value to swap the endian-ness of. |
return | uint |
public static SwapUInt64 ( ulong value ) : ulong | ||
value | ulong | The value to swap the endian-ness of. |
return | ulong |
public static ToBigEndianConditional ( this value ) : int | ||
value | this | The value to swap if necessary. |
return | int |
public static ToBigEndianConditional ( this value ) : long | ||
value | this | The value to swap if necessary. |
return | long |
public static ToBigEndianConditional ( this value ) : short | ||
value | this | The value to swap if necessary. |
return | short |
public static ToBigEndianConditional ( this value ) : uint | ||
value | this | The value to swap if necessary. |
return | uint |
public static ToBigEndianConditional ( this value ) : ulong | ||
value | this | The value to swap if necessary. |
return | ulong |
public static ToBigEndianConditional ( this value ) : ushort | ||
value | this | The value to swap if necessary. |
return | ushort |
public static ToLittleEndianConditional ( this value ) : int | ||
value | this | The value to swap if necessary. |
return | int |
public static ToLittleEndianConditional ( this value ) : long | ||
value | this | The value to swap if necessary. |
return | long |
public static ToLittleEndianConditional ( this value ) : short | ||
value | this | The value to swap if necessary. |
return | short |
public static ToLittleEndianConditional ( this value ) : uint | ||
value | this | The value to swap if necessary. |
return | uint |
public static ToLittleEndianConditional ( this value ) : ulong | ||
value | this | The value to swap if necessary. |
return | ulong |
public static ToLittleEndianConditional ( this value ) : ushort | ||
value | this | The value to swap if necessary. |
return | ushort |