base45

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(encoded string) ([]byte, error)

Decode reverses Encode. Input length mod 3 must be 0 or 2.

func Encode

func Encode(src []byte) string

Encode encodes src using the RFC 9285 base45 alphabet. Every two input bytes become three output characters; a trailing odd byte becomes two output characters.

Types

This section is empty.

Jump to

Keyboard shortcuts

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