base64

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package base64 provides base64 encryption/decryption utilities

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(src []byte) (dst []byte, err error)

Decode decode base64 bytes

func DecodeToString

func DecodeToString(src string) (retVal string, err error)

DecodeToString decode string from base64 string

func Encode

func Encode(src []byte) (dst []byte)

Encode encode src bytes to base64 format bytes

func EncodeToString

func EncodeToString(src string) string

EncodeToString encode src string to base64 format string

Types

This section is empty.

Jump to

Keyboard shortcuts

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