Package org.apache.hc.core5.http2.hpack
Class HuffmanDecoder
java.lang.Object
org.apache.hc.core5.http2.hpack.HuffmanDecoder
This Huffman codec implementation has been derived from Twitter HPack project
(https://github.com/twitter/hpack)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static HuffmanNode
buildTree
(int[] codes, byte[] lengths) (package private) void
decode
(ByteArrayBuffer out, ByteBuffer src)
-
Field Details
-
root
-
-
Constructor Details
-
HuffmanDecoder
HuffmanDecoder(int[] codes, byte[] lengths)
-
-
Method Details
-
decode
- Throws:
HPackException
-
buildTree
-