C# Class NContrib.Endian

Afficher le fichier Open project: veracross/ncontrib

Méthodes publiques

Méthode Description
Swap ( this word ) : uint

Byte-swaps a UInt32

Swap ( this word ) : ulong

Swaps the byte order of a UInt64

Swap ( this word ) : ushort

Byte-swaps a UInt16

Method Details

Swap() public static méthode

Byte-swaps a UInt32
public static Swap ( this word ) : uint
word this to swap the byte-order of.
Résultat uint

Swap() public static méthode

Swaps the byte order of a UInt64
public static Swap ( this word ) : ulong
word this to swap the byte order of.
Résultat ulong

Swap() public static méthode

Byte-swaps a UInt16
public static Swap ( this word ) : ushort
word this to swap the byte order of.
Résultat ushort