Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BitcoinEncoding = New([]byte("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"))
BitcoinEncoding is the encoding scheme used for Bitcoin addresses.
View Source
var FlickrEncoding = New([]byte("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"))
FlickrEncoding is the encoding scheme used for Flickr's short URLs.
View Source
var RippleEncoding = New([]byte("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz"))
RippleEncoding is the encoding scheme used for Ripple addresses.
Functions ¶
This section is empty.
Types ¶
type Encoding ¶
type Encoding struct {
// contains filtered or unexported fields
}
An Encoding is a radix 58 encoding/decoding scheme.
func (*Encoding) DecodeUint64 ¶ added in v0.2.0
DecodeUint64 decodes the base58 encoded bytes to an unsigned integer.
func (*Encoding) EncodeUint64 ¶ added in v0.2.0
EncodeUint64 encodes the unsigned integer.
func (*Encoding) UnmarshalFlag ¶ added in v0.0.2
UnmarshalFlag implements flags.Unmarshaler
Click to show internal directories.
Click to hide internal directories.