C# Class netduino.BitConverter

Mostra file Open project: shendongnian/code

Public Methods

Method Description
GetBytes ( float value ) : byte[]
GetBytes ( float value, ByteOrder order ) : byte[]
GetBytes ( uint value ) : byte[]
ToSingle ( Array value, int index ) : float
ToSingle ( Array value, int index, ByteOrder order ) : float
ToUInt32 ( Array value, int index ) : uint

Method Details

GetBytes() public static method

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

GetBytes() public static method

public static GetBytes ( float value, ByteOrder order ) : byte[]
value float
order ByteOrder
return byte[]

GetBytes() public static method

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

ToSingle() public static method

public static ToSingle ( Array value, int index ) : float
value Array
index int
return float

ToSingle() public static method

public static ToSingle ( Array value, int index, ByteOrder order ) : float
value Array
index int
order ByteOrder
return float

ToUInt32() public static method

public static ToUInt32 ( Array value, int index ) : uint
value Array
index int
return uint