base64

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2020 License: Unlicense Imports: 2 Imported by: 0

Documentation

Overview

Package base64 implements base64 encoding related utility functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(s string, l int) ([]byte, error)

Decode returns the bytes represented by the base64 string s (assuming that s is URL encoded without padding). Decode expects that the resulting byte slice has length l.

func Encode

func Encode(src []byte) string

Encode returns the base64 encoding of src (URL encoding without padding).

Types

This section is empty.

Jump to

Keyboard shortcuts

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