b64

package
Version: v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package b64 encodes base64 and does formating for S/MIME

Index

Constants

View Source
const PemLineLength = 64

Lenght of the lines in the output of the function EncodeBase64.

Variables

This section is empty.

Functions

func EncodeBase64

func EncodeBase64(in []byte) ([]byte, error)

Takes an byteslice and outputs the base64 encoded version with linebreaks. The constant PemLineLength defines the lenght of the lines.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL