base83

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidInput = errors.New("base83: invalid input")

ErrInvalidInput is returned when the given input to decode is not valid base83.

Functions

func Decode

func Decode(str string) (val int, err error)

Decode decodes a base83 string into an integer value.

func Encode

func Encode(val, length int) (str string, err error)

Encode encodes an integer value into a base83 string of the given length.

Types

This section is empty.

Jump to

Keyboard shortcuts

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