README

Huffman Encoding in pure perl6

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.

Encoding::Huffman::PP6 v0.0.3

Huffman Encoding with pure perl6

Authors

    License

    Dependencies

    Test Dependencies

    Provides

    • Encoding::Huffman::PP6

    Documentation

    The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.