Categorygithub.com/new-world-tools/go-oodle
modulepackage
0.3.0
Repository: https://github.com/new-world-tools/go-oodle.git
Documentation: pkg.go.dev

# README

go-oodle

Go wrapper for Oodle Data Compression

Usage

Put oo2core_9_win64.dll in the directory with your application (or use the built-in downloader)

Compress

compressedData, err := oodle.Compress(data, oodle.AlgoKraken, oodle.CompressionLevelOptimal3)

Decompress

decompressedData, err := oodle.Decompress(compressedData, outputSize))

Download

if !oodle.IsLibExists() {
	err := oodle.Download()
	if err != nil {
		log.Fatalf("no oo2core library")
	}
}