binpack

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeCpp

func MakeCpp(w io.Writer, namespace string, sources []*Source)

func MakeGolang

func MakeGolang(w io.Writer, packagename string, sources []*Source)

Types

type Source

type Source struct {
	Name         string
	Content      []byte
	Compressed   bool
	OriginalSize int
}

func FromFile

func FromFile(fn string, name string, compress bool) (*Source, error)

Jump to

Keyboard shortcuts

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