C# Class LiteNetLib.Utils.FastBitConverter

Afficher le fichier Open project: RevenantX/LiteNetLib Class Usage Examples

Méthodes publiques

Méthode Description
GetBytes ( byte bytes, int startIndex, double value ) : void
GetBytes ( byte bytes, int startIndex, float value ) : void
GetBytes ( byte bytes, int startIndex, int value ) : void
GetBytes ( byte bytes, int startIndex, long value ) : void
GetBytes ( byte bytes, int startIndex, short value ) : void
GetBytes ( byte bytes, int startIndex, uint value ) : void
GetBytes ( byte bytes, int startIndex, ulong value ) : void
GetBytes ( byte bytes, int startIndex, ushort value ) : void
WriteLittleEndian ( byte buffer, int offset, short data ) : void

Private Methods

Méthode Description
WriteLittleEndian ( byte buffer, int offset, int data ) : void
WriteLittleEndian ( byte buffer, int offset, ulong data ) : void

Method Details

GetBytes() public static méthode

public static GetBytes ( byte bytes, int startIndex, double value ) : void
bytes byte
startIndex int
value double
Résultat void

GetBytes() public static méthode

public static GetBytes ( byte bytes, int startIndex, float value ) : void
bytes byte
startIndex int
value float
Résultat void

GetBytes() public static méthode

public static GetBytes ( byte bytes, int startIndex, int value ) : void
bytes byte
startIndex int
value int
Résultat void

GetBytes() public static méthode

public static GetBytes ( byte bytes, int startIndex, long value ) : void
bytes byte
startIndex int
value long
Résultat void

GetBytes() public static méthode

public static GetBytes ( byte bytes, int startIndex, short value ) : void
bytes byte
startIndex int
value short
Résultat void

GetBytes() public static méthode

public static GetBytes ( byte bytes, int startIndex, uint value ) : void
bytes byte
startIndex int
value uint
Résultat void

GetBytes() public static méthode

public static GetBytes ( byte bytes, int startIndex, ulong value ) : void
bytes byte
startIndex int
value ulong
Résultat void

GetBytes() public static méthode

public static GetBytes ( byte bytes, int startIndex, ushort value ) : void
bytes byte
startIndex int
value ushort
Résultat void

WriteLittleEndian() public static méthode

public static WriteLittleEndian ( byte buffer, int offset, short data ) : void
buffer byte
offset int
data short
Résultat void