Class HuffmanDecoder
Inherited Members
Namespace: Titanium.Web.Proxy.Http2.Hpack
Assembly: Titanium.Web.Proxy.dll
Syntax
public class HuffmanDecoder
Fields
| Improve this Doc View SourceInstance
Huffman Decoder
Declaration
public static readonly HuffmanDecoder Instance
Field Value
Type | Description |
---|---|
HuffmanDecoder |
Methods
| Improve this Doc View SourceDecode(Byte[])
Decompresses the given Huffman coded string literal.
Declaration
public ReadOnlyMemory<byte> Decode(byte[] buf)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | buf | the string literal to be decoded |
Returns
Type | Description |
---|---|
ReadOnlyMemory<Byte> | the output stream for the compressed data |
Exceptions
Type | Condition |
---|---|
IOException | throws IOException if an I/O error occurs. In particular, an may be thrown if the output stream has been closed.
|