base62

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrOverflow = errors.New("input too long for uint64 decoding")
)

Functions

func Decode

func Decode(s string) (uint64, error)

func Encode

func Encode(num uint64) string

func ErrInvalidCharacter

func ErrInvalidCharacter(pos int, char rune) error

Types

type InvalidCharacter

type InvalidCharacter struct {
	// contains filtered or unexported fields
}

func (*InvalidCharacter) Error

func (c *InvalidCharacter) Error() string

Jump to

Keyboard shortcuts

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