C# 클래스 Paymetheus.Bitcoin.Util.Base58

Implements the modified base58 encoding and decoding methods used by Bitcoin wallets.
파일 보기 프로젝트 열기: btcsuite/Paymetheus

공개 메소드들

메소드 설명
Decode ( string data ) : byte[]
Encode ( byte value ) : string
IsBase58Encoded ( string value ) : bool

Checks that the string is base58 encoded, and that it should decode without errors, by checking that each character in the string is a base58 digit.

TryDecode ( string encodedData, byte &decodedResult ) : bool

메소드 상세

Decode() 공개 정적인 메소드

public static Decode ( string data ) : byte[]
data string
리턴 byte[]

Encode() 공개 정적인 메소드

public static Encode ( byte value ) : string
value byte
리턴 string

IsBase58Encoded() 공개 정적인 메소드

Checks that the string is base58 encoded, and that it should decode without errors, by checking that each character in the string is a base58 digit.
public static IsBase58Encoded ( string value ) : bool
value string The string to check.
리턴 bool

TryDecode() 공개 정적인 메소드

public static TryDecode ( string encodedData, byte &decodedResult ) : bool
encodedData string
decodedResult byte
리턴 bool