Skip to content

YanagiEiichi/rfc7541-huffman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rfc7541-huffman

A huffman algorithm implementation, according to the rfc7541.

Usage

import huffman from 'rfc7541-huffman';

huffman.encode('Hello World'); // <Buffer c6 5a 28 3a 9c 8f 65 12 7f>

huffman.decode(new Buffer([ 0xc6, 0x5a, 0x28, 0x3a, 0x9c, 0x8f, 0x65, 0x12, 0x7f ])); // Hello World

About

A huffman algorithm implementation, according to the rfc7541

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published