base31

package module
v0.0.0-...-b2d416d Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2016 License: MIT Imports: 1 Imported by: 0

README

About

GoDoc

Implements Base31 encoding and decoding, which is useful to represent large integers in a short, case-insensitive, alphanumeric format.

The difference to Base36 is that in Base31 certain characters that are often misread (0, 1, i, I, l, L, o, 0) are not used.

See the tests for example usage.

License

MIT

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(s string) uint64

Decode decodes a base31-encoded string back to uint64

func Encode

func Encode(value uint64) string

Encode encodes a uint64 value to string in base31 format

Types

This section is empty.

Jump to

Keyboard shortcuts

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