bits

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2021 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package bits provides support routines for encoding and decoding data. It is part of the filedata compiler.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

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

Decode converts encoded file contents back to raw form.

func Encode

func Encode(data []byte) ([]byte, error)

Encode converts raw file contents into an encoded form.

func ToSource

func ToSource(w io.Writer, data []byte) error

ToSource renders the given data as Go source text, which is written to w.

Types

This section is empty.

Jump to

Keyboard shortcuts

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