encoding

package
v0.0.0-...-6065391 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeBase64

func DecodeBase64(data string) (string, error)

DecodeBase64 decodes a base64 string and returns a string

func EncodeBase64

func EncodeBase64(data string) string

EncodeBase64 takes a string and turns it into a base64 string

func EncodeBytesAsString

func EncodeBytesAsString(data []byte) string

EncodeBytesAsString takes a byte array and returns a string representation

func EncodeStringAsBytes

func EncodeStringAsBytes(data string) []byte

EncodeStringAsBytes takes a string and returns the bytes that make it

Types

This section is empty.

Jump to

Keyboard shortcuts

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