brotli-go.v0: gopkg.in/kothar/brotli-go.v0 Index | Files | Directories

package brotli

import "gopkg.in/kothar/brotli-go.v0"

Package brotli contains bindings for the Brotli compression library

This is a very basic Cgo wrapper for the enc and dec directories from the Brotli sources. I've made a few minor changes to get things working with Go.

1. The default dictionary has been extracted to a separate 'shared' package to allow linking the enc and dec cgo modules if you use both. Otherwise there are duplicate symbols, as described in the dictionary.h header files.

2. The dictionary variable name for the dec package has been modified for the same reason, to avoid linker collisions.

Index

Package Files

doc.go

Directories

PathSynopsis
decPackage dec provides Brotli decoder bindings
encPackage enc provides Brotli encoder bindings
gbrA test application for applying brotli compression to files
sharedPackage shared contains the common dictionary used by the enc and dec packages

Package brotli imports 3 packages (graph). Updated 2018-02-15. Refresh now. Tools for package owners.