base62

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: Apache-2.0 Imports: 4 Imported by: 9

README

goth-base62

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FlipEncoding = NewEncoding(encodeStd).Direction(true)
View Source
var FlipShiftEncoding = NewEncoding(encodeStd).Shift(true).Direction(true)
View Source
var ShiftEncoding = NewEncoding(encodeStd).Shift(true)
View Source
var StdEncoding = NewEncoding(encodeStd)

Functions

This section is empty.

Types

type Encoding

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

func NewEncoding

func NewEncoding(encoder string) *Encoding

func (*Encoding) DecodeString

func (enc *Encoding) DecodeString(s string) []byte

func (*Encoding) Direction

func (enc *Encoding) Direction(forward bool) *Encoding

func (*Encoding) EncodeToString

func (enc *Encoding) EncodeToString(src []byte) string

func (*Encoding) Shift

func (enc *Encoding) Shift(shift bool) *Encoding

Jump to

Keyboard shortcuts

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