Skip to content

Latest commit

 

History

History
67 lines (37 loc) · 1.23 KB

base58.md

File metadata and controls

67 lines (37 loc) · 1.23 KB

base58

import "github.com/andy2046/gopie/pkg/base58"

Package base58 implements Base58 Encoder interface.

base58.go

var (

    // ErrEmptyString for empty Base58 encoded string.
    ErrEmptyString = errors.New("base58: empty Base58 encoded string")
)
func Decode(s string) (uint64, error)

Decode returns Base58 decoded unsigned int64.

func Encode(n uint64) string

Encode returns Base58 encoded string.

func Reverse(b []byte)

Reverse your byte slice.


Generated by godoc2md