C# Class ZWave.PayloadConverter

Datei anzeigen Open project: roblans/ZWave4Net

Public Methods

Method Description
GetBytes ( byte value ) : byte[]
GetBytes ( float value, byte decimals, byte scale ) : byte[]
GetBytes ( int value ) : byte[]
GetBytes ( long value ) : byte[]
GetBytes ( sbyte value ) : byte[]
GetBytes ( short value ) : byte[]
GetBytes ( uint value ) : byte[]
GetBytes ( ulong value ) : byte[]
GetBytes ( ushort value ) : byte[]
ToFloat ( byte payload, byte &scale ) : float
ToInt16 ( byte value, int startIndex ) : short
ToInt32 ( byte value, int startIndex ) : int
ToInt64 ( byte value, int startIndex ) : long
ToInt8 ( byte value, int startIndex ) : sbyte
ToUInt16 ( byte value, int startIndex ) : ushort
ToUInt32 ( byte value, int startIndex ) : uint
ToUInt64 ( byte value, int startIndex ) : ulong
ToUInt8 ( byte value, int startIndex ) : byte

Method Details

GetBytes() public static method

public static GetBytes ( byte value ) : byte[]
value byte
return byte[]

GetBytes() public static method

public static GetBytes ( float value, byte decimals, byte scale ) : byte[]
value float
decimals byte
scale byte
return byte[]

GetBytes() public static method

public static GetBytes ( int value ) : byte[]
value int
return byte[]

GetBytes() public static method

public static GetBytes ( long value ) : byte[]
value long
return byte[]

GetBytes() public static method

public static GetBytes ( sbyte value ) : byte[]
value sbyte
return byte[]

GetBytes() public static method

public static GetBytes ( short value ) : byte[]
value short
return byte[]

GetBytes() public static method

public static GetBytes ( uint value ) : byte[]
value uint
return byte[]

GetBytes() public static method

public static GetBytes ( ulong value ) : byte[]
value ulong
return byte[]

GetBytes() public static method

public static GetBytes ( ushort value ) : byte[]
value ushort
return byte[]

ToFloat() public static method

public static ToFloat ( byte payload, byte &scale ) : float
payload byte
scale byte
return float

ToInt16() public static method

public static ToInt16 ( byte value, int startIndex ) : short
value byte
startIndex int
return short

ToInt32() public static method

public static ToInt32 ( byte value, int startIndex ) : int
value byte
startIndex int
return int

ToInt64() public static method

public static ToInt64 ( byte value, int startIndex ) : long
value byte
startIndex int
return long

ToInt8() public static method

public static ToInt8 ( byte value, int startIndex ) : sbyte
value byte
startIndex int
return sbyte

ToUInt16() public static method

public static ToUInt16 ( byte value, int startIndex ) : ushort
value byte
startIndex int
return ushort

ToUInt32() public static method

public static ToUInt32 ( byte value, int startIndex ) : uint
value byte
startIndex int
return uint

ToUInt64() public static method

public static ToUInt64 ( byte value, int startIndex ) : ulong
value byte
startIndex int
return ulong

ToUInt8() public static method

public static ToUInt8 ( byte value, int startIndex ) : byte
value byte
startIndex int
return byte