Skip to content
/ LZSS Public

[EN] Implementation of the LZSS compression algorithm / [FR] Implémentation de l'algorithme de compression LZSS

License

Notifications You must be signed in to change notification settings

fbonhomm/LZSS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI License: MIT

LZSS

[EN] Implementation of the LZSS compression algorithm

[FR] Implémentation de l'algorithme de compression LZSS

Usage

import "github.com/fbonhomm/LZSS/source"

var Lzss = source.LZSS{Mode: 1, PositionMode: 0}

dataCompress := Lzss.Compress([]byte("..."))

rawData := Lzss.Decompress(dataCompress)

Configuration

Mode:

  • 0 is mode with one bit flag in front each byte or encoding (default)
  • 1 is mode with one byte flag in front each 8 pattern of character or encoding

PositionMode:

  • 0 set count position to started begin dictionary (default)
  • 1 set count position to started current index

Explanation

Ressources

About

[EN] Implementation of the LZSS compression algorithm / [FR] Implémentation de l'algorithme de compression LZSS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages