C# Class LiteNetLib.Utils.FastBitConverter

Exibir arquivo Open project: RevenantX/LiteNetLib Class Usage Examples

Public Methods

Method 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

Method Description
WriteLittleEndian ( byte buffer, int offset, int data ) : void
WriteLittleEndian ( byte buffer, int offset, ulong data ) : void

Method Details

GetBytes() public static method

public static GetBytes ( byte bytes, int startIndex, double value ) : void
bytes byte
startIndex int
value double
return void

GetBytes() public static method

public static GetBytes ( byte bytes, int startIndex, float value ) : void
bytes byte
startIndex int
value float
return void

GetBytes() public static method

public static GetBytes ( byte bytes, int startIndex, int value ) : void
bytes byte
startIndex int
value int
return void

GetBytes() public static method

public static GetBytes ( byte bytes, int startIndex, long value ) : void
bytes byte
startIndex int
value long
return void

GetBytes() public static method

public static GetBytes ( byte bytes, int startIndex, short value ) : void
bytes byte
startIndex int
value short
return void

GetBytes() public static method

public static GetBytes ( byte bytes, int startIndex, uint value ) : void
bytes byte
startIndex int
value uint
return void

GetBytes() public static method

public static GetBytes ( byte bytes, int startIndex, ulong value ) : void
bytes byte
startIndex int
value ulong
return void

GetBytes() public static method

public static GetBytes ( byte bytes, int startIndex, ushort value ) : void
bytes byte
startIndex int
value ushort
return void

WriteLittleEndian() public static method

public static WriteLittleEndian ( byte buffer, int offset, short data ) : void
buffer byte
offset int
data short
return void