base36

package
v0.21.2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(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(value uint64) string

Encode encodes a number to base36.

func EncodeBytes

func EncodeBytes(b []byte) string

EncodeBytes encodes a byte slice to base36 string.

func EncodeBytesAsBytes

func EncodeBytesAsBytes(b []byte) []byte

EncodeBytesAsBytes encodes a byte slice 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