gbase64

package
v1.9.10 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: MIT Imports: 2 Imported by: 24

Documentation

Overview

Package gbase64 provides useful API for BASE64 encoding/decoding algorithm.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

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

Decode decodes bytes with BASE64 algorithm.

func DecodeString

func DecodeString(str string) ([]byte, error)

DecodeString decodes string with BASE64 algorithm.

func DecodeToString added in v1.9.4

func DecodeToString(str string) (string, error)

DecodeString decodes string with BASE64 algorithm.

func Encode

func Encode(src []byte) []byte

Encode encodes bytes with BASE64 algorithm.

func EncodeString

func EncodeString(src string) string

EncodeString encodes string with BASE64 algorithm.

func EncodeToString added in v1.9.4

func EncodeToString(src []byte) string

EncodeToString encodes bytes to string with BASE64 algorithm.

Types

This section is empty.

Jump to

Keyboard shortcuts

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