multibase

package module
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2016 License: MIT Imports: 3 Imported by: 2

README

go-multibase

Go implementation of the multibase specification.

Install

go get github.com/multiformats/go-multibase

Usage

TODO

Maintainer

Captain: @whyrusleeping.

Contribute

Contributions welcome. Please check out the issues.

Check out our contributing document for more information on how we work, and about contributing in general. Please be aware that all interactions related to multiformats are subject to the IPFS Code of Conduct.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © Protocol Labs Inc.

Documentation

Index

Constants

View Source
const (
	Base1        = '1'
	Base2        = '0'
	Base8        = '7'
	Base10       = '9'
	Base16       = 'f'
	Base58Flickr = 'Z'
	Base58BTC    = 'z'
)

Variables

View Source
var ErrUnsupportedEncoding = fmt.Errorf("selected encoding not supported")

Functions

func Decode

func Decode(data string) (int, []byte, error)

func Encode

func Encode(base int, data []byte) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL