encode

package
v0.0.0-...-58bc41f Latest Latest
Warning

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

Go to latest
Published: May 23, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package encode provides functions for encoding files as base64 data URIs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataURI

func DataURI(data []byte, mime string) string

DataURI returns a data URI string for the given data and MIME type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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