b64

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2026 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package b64 provides base64 encoding and decoding utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeBytes

func DecodeBytes(input string) (output []byte, err error)

DecodeBytes decodes a base64 string to a byte slice.

func DecodeString

func DecodeString(input string) (output string, err error)

DecodeString decodes a base64 string to a string.

func EncodeBytes

func EncodeBytes(input []byte) string

EncodeBytes encodes a byte slice to a base64 string.

func EncodeString

func EncodeString(input string) string

EncodeString encodes a string to a base64 string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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