package
0.0.0-20220412220916-5ea02083e3ec
Repository: https://github.com/riteshrch/go-edge-device-lib.git
Documentation: pkg.go.dev

# 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.

# 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.