flate

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const ModuleName = "compress/flate"

Variables

View Source
var ModuleInit gad.ModuleInitFunc = func(module *gad.Module, c gad.Call) (err error) {
	spec := module.Spec
	module.Data = gad.Dict{
		"encode": &gad.Function{
			Module:   spec,
			FuncName: "encode",
			Value:    Encode,
		},
		"decode": &gad.Function{
			Module:   spec,
			FuncName: "decode",
			Value:    Decode,
		},
	}
	return
}

ModuleInit represents init for module flate.

Functions

func Decode

func Decode(c gad.Call) (_ gad.Object, err error)

func Encode

func Encode(c gad.Call) (_ gad.Object, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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