Pike v8.1 release 6

Method HPack.huffman_encode()


Method huffman_encode

string(8bit) huffman_encode(string(8bit) str)

Description

Encodes the string str with the static huffman code specified in RFC 7541 appendix B.

Parameter str

String to encode.

Returns

Returns the encoded string.

See also

huffman_decode().