Versions in this module Expand all Collapse all v1 v1.0.0 Oct 10, 2023 Changes in this version + const DefaultAlphabet + const DefaultBlockSize + const MinLength + func Debase(s string) int + func Decode(n int) int + func DecodeID(s string) int + func Enbase(n int) string + func Encode(n int) int + func EncodeID(n int) string + type Encoder struct + Alphabet string + BlockSize int + Mask int + func NewEncoder(alphabet string, blockSize int) (*Encoder, error) + func (e *Encoder) Debase(s string) int + func (e *Encoder) Decode(n int) int + func (e *Encoder) DecodeID(s string) int + func (e *Encoder) Enbase(x, minLength int) string + func (e *Encoder) Encode(n int) int + func (e *Encoder) EncodeID(n, minLength int) string