Help us shape the future of Go! Take the 2026 Go Developer Survey

lzma

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2018 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package lzma implements reading and writing of LZMA compressed files.

This package is specifically designed for the LZMA format used popular UEFI implementations. It requires the `lzma` and `unlzma` programs to be installed and on the path.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

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

Decode decodes a byte slice of LZMA data.

func Encode

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

Encode encodes a byte slice with LZMA.

func EncodeLevel

func EncodeLevel(decodedData []byte, level int) ([]byte, error)

EncodeLevel encodes a byte slice with LZMA. `level` is a value in the range 0..9 where 9 gives the best compression.

Types

This section is empty.

Jump to

Keyboard shortcuts

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