C# Class Poker.Common.Conversion.ArrayConverters

Mostrar archivo Open project: BernhardGlueck/Poker

Public Methods

Method Description
FloatToShort ( float input, int count, short output ) : void
GetBytes ( short input, int count, byte output ) : void
GetShorts ( ArraySegment input, ArraySegment output ) : void
ShortToFloat ( short input, int count, float output ) : void

Method Details

FloatToShort() public static method

public static FloatToShort ( float input, int count, short output ) : void
input float
count int
output short
return void

GetBytes() public static method

public static GetBytes ( short input, int count, byte output ) : void
input short
count int
output byte
return void

GetShorts() public static method

public static GetShorts ( ArraySegment input, ArraySegment output ) : void
input ArraySegment
output ArraySegment
return void

ShortToFloat() public static method

public static ShortToFloat ( short input, int count, float output ) : void
input short
count int
output float
return void