Versions in this module Expand all Collapse all v1 v1.0.0 Apr 23, 2019 Changes in this version + var Base58Encoding = NewEncoding("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz") + var Base62Encoding = NewEncoding("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz") + type Encoding struct + func NewEncoding(alphabet string) *Encoding + func (e *Encoding) DecodeString(s string) ([]byte, error) + func (e *Encoding) DecodeStringToBigInt(s string) (*big.Int, error) + func (e *Encoding) DecodeStringToInt64(s string) (int64, error) + func (e *Encoding) DecodedLen(n int) int + func (e *Encoding) EncodeBigIntToString(src *big.Int) string + func (e *Encoding) EncodeInt64ToString(n int64) string + func (e *Encoding) EncodeToString(src []byte) string + func (e *Encoding) EncodedLen(n int) int