Documentation ¶
Overview ¶
Package base58 implements a human-friendly base58 encoding.
As opposed to base64 and friends, base58 is typically used to convert integers. You can use big.Int.SetBytes to convert arbitrary bytes to an integer first, and big.Int.Bytes the other way around.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeToBig ¶
DecodeToBig a big integer from the bytes. Returns an error on corrupt input.
Types ¶
type CorruptInputError ¶
type CorruptInputError int64
CorruptInputError representds input is corrupted.
func (CorruptInputError) Error ¶
func (e CorruptInputError) Error() string
Error is to implement Error interface.
Click to show internal directories.
Click to hide internal directories.