module

HT2::HPACK::Huffman

Instance methods

decode(data : Bytes) : String

Decode Huffman encoded data

Source
decode(data : Bytes, &)
Source
encode(data : String, output : IO::Memory | Nil = nil) : Bytes

Encode string using Huffman encoding

Source
encode(data : Bytes, output : IO::Memory | Nil = nil) : Bytes
Source