DefaultHuffmanCodecProvider

A default Huffman codec provider that takes a preloaded codec in and returns it without any sort of extra steps.

Constructors

Link copied to clipboard
constructor(huffmanCodec: HuffmanCodec)

Functions

Link copied to clipboard
open override fun provide(): HuffmanCodec

Provides the huffman codec instance. If a blocking implementation is used, this will block up the calling threads until it has been supplied with a codec.