Skip to content

DEFLATE tool with support for preset dictionaries using zlib

License

Notifications You must be signed in to change notification settings

hrobeers/dicflate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dicflate

DEFLATE tool with support for preset dictionaries using zlib

Quickstart

# Compress
dicflate -d my.dict < uncompressed > compressed.data

# Extract
dicflate -x -d my.dict < compressed.data > uncompressed

For more examples see tests.

Dependencies

Rationale

zlib's DEFLATE algorithm supports the use of preset dictionaries for compression of short strings (sequence of bytes). Unfortunately this functionality is not exposed by any of the mainstream compression tools. dicflate aims to fill this void.

Preset dictionaries can be usefull to reduce the size of self-describing serialization formats (e.g. JSON), without the need to shorten property names or other verbosities.

About

DEFLATE tool with support for preset dictionaries using zlib

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published