Documentation
¶
Index ¶
Constants ¶
View Source
const ( IBase uint32 = 256 OBase uint32 = 58 )
Variables ¶
View Source
var ( EncodeTransformer = basebb.MustNewTransformer(IBase, OBase) DecodeTransformer = basebb.MustNewTransformer(OBase, IBase) BitcoinEncoding = MustNewEncoding("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz") FlickrEncoding = MustNewEncoding("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ") )
Functions ¶
Types ¶
type Encoding ¶
type Encoding struct {
// contains filtered or unexported fields
}
func MustNewEncoding ¶
func NewEncoding ¶
type InvalidAlphabetError ¶
type InvalidAlphabetError struct {
// contains filtered or unexported fields
}
func (InvalidAlphabetError) Error ¶
func (e InvalidAlphabetError) Error() string
type InvalidCharError ¶
type InvalidCharError struct {
// contains filtered or unexported fields
}
func (InvalidCharError) Error ¶
func (e InvalidCharError) Error() string
Click to show internal directories.
Click to hide internal directories.