base36

package
v0.1.5 Latest Latest
Warning

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

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

Documentation

Overview

Package base36, form from https://github.com/martinlindhe/base36

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(b string) string

Decode decodes to string.

func DecodeStringToMember

func DecodeStringToMember(s string) uint64

Decode decodes a base36-encoded string.

func DecodeToBytes

func DecodeToBytes(b string) []byte

DecodeToBytes decodes a base36 string to a byte slice, using alphabet.

func Encode

func Encode(b string) string

Encode encodes to base36 string.

func EncodeNumberToString

func EncodeNumberToString(value uint64) string

Encode encodes a number to base36.

func EncodeToBytes

func EncodeToBytes(b string) []byte

EncodeToBytes encodes to base36.

Types

This section is empty.

Jump to

Keyboard shortcuts

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