Used to decoded Huffman encoded strings.
Characters which are illegal field-vchar values are replaced with either ' ' or '?' as described in RFC9110
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final CharsetStringBuilder. | |
| private int | |
| private int | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | decode(ByteBuffer
the buffer containing the Huffman encoded bytes. buffer)Returns: the decoded String. |
| public void | |
| public void |
| _bits | back to summary |
|---|---|
| private int _bits | |
| _builder | back to summary |
|---|---|
| private final CharsetStringBuilder. | |
| _count | back to summary |
|---|---|
| private int _count | |
| _current | back to summary |
|---|---|
| private int _current | |
| _length | back to summary |
|---|---|
| private int _length | |
| _node | back to summary |
|---|---|
| private int _node | |
| HuffmanDecoder | back to summary |
|---|---|
| public HuffmanDecoder() | |
| decode | back to summary |
|---|---|
public String decode(ByteBuffer buffer) throws EncodingException
| |
| reset | back to summary |
|---|---|
| public void reset() | |
| setLength | back to summary |
|---|---|
| public void setLength(int length) Set in bytes of the huffman data..
| |