No description, website, or topics provided.
Perl6
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/Encoding/Huffman META.info was renamed. Encoding with http2 table was fixed. New test … Feb 1, 2016
t META.info was renamed. Encoding with http2 table was fixed. New test … Feb 1, 2016
.gitignore
.travis.yml
META6.json
README.md

README.md

Huffman Encoding in pure perl6

Build Status

What a joy.

Subs provided + signatures

Encoding

sub huffman-encode(Str $string-to-encode, %table?)

$string-to-encode

The string you wish to encode

%table?

The encoding table you'd like to use. Defaults to the HTTP2 spec's predefined huffman table found here

Decoding

sub huffman-decode(Buf[uint8] $buffer-to-decode, %table?)

$buffer-to-decode

A Buf[uint8] that you wish to decode

%table?

Please reference above.