base64

package
v0.0.0-...-f17293a Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(s string) (string, error)

func Encode

func Encode(s string) string

Types

type Base64

type Base64 struct{}

Base64 base64

func NewBase64

func NewBase64() *Base64

func (*Base64) Decode

func (b *Base64) Decode(data string) ([]byte, error)

func (*Base64) DecodeBytes

func (b *Base64) DecodeBytes(data []byte) ([]byte, error)

func (*Base64) Encode

func (b *Base64) Encode(data []byte) string

Encode base64 encode

Jump to

Keyboard shortcuts

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