modulepackage
0.2.0
Repository: https://github.com/multiformats/go-multibase.git
Documentation: pkg.go.dev
# README
go-multibase
Implementation of multibase -self identifying base encodings- in Go.
Install
go-multibase
is a standard Go module which can be installed with:
go get github.com/multiformats/go-multibase
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 © 2016 Protocol Labs Inc.
# Packages
No description provided by the author
# Functions
Decode takes a multibase string and decodes into a bytes buffer.
Encode encodes a given byte slice with the selected encoding and returns a multibase string (<encoding><base-encoded-string>).
EncoderByName creates an encoder from a string, the string can either be the multibase name or single character multibase prefix.
MustNewEncoder is like NewEncoder but will panic if the encoding is invalid.
NewEncoder create a new Encoder from an Encoding.
# Constants
These are the encodings specified in the standard, not are all supported yet.
These are the encodings specified in the standard, not are all supported yet.
These are the encodings specified in the standard, not are all supported yet.
These are the encodings specified in the standard, not are all supported yet.
These are the encodings specified in the standard, not are all supported yet.
These are the encodings specified in the standard, not are all supported yet.
These are the encodings specified in the standard, not are all supported yet.
These are the encodings specified in the standard, not are all supported yet.
These are the encodings specified in the standard, not are all supported yet.
These are the encodings specified in the standard, not are all supported yet.
These are the encodings specified in the standard, not are all supported yet.
These are the encodings specified in the standard, not are all supported yet.
These are the encodings specified in the standard, not are all supported yet.
These are the encodings specified in the standard, not are all supported yet.
These are the encodings specified in the standard, not are all supported yet.
These are the encodings specified in the standard, not are all supported yet.
These are the encodings specified in the standard, not are all supported yet.
These are the encodings specified in the standard, not are all supported yet.
These are the encodings specified in the standard, not are all supported yet.
These are the encodings specified in the standard, not are all supported yet.
These are the encodings specified in the standard, not are all supported yet.
These are the encodings specified in the standard, not are all supported yet.
These are the encodings specified in the standard, not are all supported yet.
# Variables
No description provided by the author
EncodingToStr is a map of the supported encoding, unsupported encoding specified in standard are left out.
ErrUnsupportedEncoding is returned when the selected encoding is not known or implemented.
# Structs
Encoder is a multibase encoding that is verified to be supported and supports an Encode method that does not return an error.
# Type aliases
Encoding identifies the type of base-encoding that a multibase is carrying.