base64

package
v0.0.0-...-4806b60 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EncodeStd    = "algo::encodeStd"
	EncodeRawStd = "algo::encodeRawStd"
	EncodeURL    = "algo::encodeURL"
	EncodeRawURL = "algo::encodeRawURL"
)

Variables

This section is empty.

Functions

func Decode

func Decode(encoder string, s string) ([]byte, error)

func Encode

func Encode(encoder string, src []byte) string

func EncodeString

func EncodeString(encoder string, src string) string

func NewEncoding

func NewEncoding(encoder string) (encoding *base64.Encoding)

func NewEncodingWithPadding

func NewEncodingWithPadding(encoder string, padding rune) (encoding *base64.Encoding)

Types

This section is empty.

Jump to

Keyboard shortcuts

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