C# Class Paymetheus.Bitcoin.Util.Hexadecimal

Exibir arquivo Open project: btcsuite/Paymetheus

Public Methods

Method Description
Decode ( string value ) : byte[]
Encode ( byte bytes ) : string
TryDecode ( string value, byte &result ) : bool

Private Methods

Method Description
HexDigitToByte ( char ch ) : byte
IsHexDigit ( char ch ) : bool

Method Details

Decode() public static method

public static Decode ( string value ) : byte[]
value string
return byte[]

Encode() public static method

public static Encode ( byte bytes ) : string
bytes byte
return string

TryDecode() public static method

public static TryDecode ( string value, byte &result ) : bool
value string
result byte
return bool