C# Class SagaLib.Conversions

显示文件 Open project: Willyham/SagaRO2

Public Methods

Method Description
HexStr2Bytes ( string s ) : byte[]
HexStr2uint ( string s ) : uint[]
ToByte ( string Value ) : byte
ToInteger ( string Value ) : int
bytes2HexString ( byte b ) : string
uint2HexString ( uint b ) : string

Method Details

HexStr2Bytes() public static method

public static HexStr2Bytes ( string s ) : byte[]
s string
return byte[]

HexStr2uint() public static method

public static HexStr2uint ( string s ) : uint[]
s string
return uint[]

ToByte() public static method

public static ToByte ( string Value ) : byte
Value string
return byte

ToInteger() public static method

public static ToInteger ( string Value ) : int
Value string
return int

bytes2HexString() public static method

public static bytes2HexString ( byte b ) : string
b byte
return string

uint2HexString() public static method

public static uint2HexString ( uint b ) : string
b uint
return string